Re: Proposal Accepted for GSoC

2018-04-25 Thread Mathieu Lirzin
Hello Vishal,

Vishal Gupta  writes:

> My proposal for the project " Parse Makefile.am using abstract syntax
> tree" has been accepted and I am excited to start working on the same.

Congrats!

> The community bonding period will be till 14th May. As discussed in
> the proposal, I will be working on improving my perl skills and
> understanding the Automake's Code. Some queries about that :
>
> 1) Good resource for studying Perl and important concepts required for
> completing the project. A short task of 4-5 days would be great for
> testing my knowledge of perl and quantify my progress.

Like I said to Matthias, Perl comes with an extensive set of manpages
which consist of tutorials and reference manuals.  ‘perlintro(1)’ is a
good entry point.  The “Learning Perl” book by Tom Phoenix and Randal
Schwartz is a nice introduction to Perl.

You will need to get familiar with perl references which is a somewhat
advance topic in order to build recursive structure for the AST.

To learn Perl I think it is important to have an interactive environment
‘perl -d -e ''’ is useful for that.

> 2) How to go about understanding the Automake code .

The first step is to compile it from the Git repository and report
unclear points.  I encourage you to get familiar with Automake from a
user perspective by creating build definitions for some dummy C programs
and libraries by following the Automake manual which is nicely written.

> 3) Any other task required to be completed during the community bonding 
> period.

I think, it is important that you get more familiar with Git usage and
good practices before the coding period.  There is a lot of resources
online and particularly a great book freely available:

  https://git-scm.com/book/en/v2

> As discussed in the proposal that I will be having my exams from 8th
> to 15th May, so I will try to complete the work before that time.

No problem.

If you have any question or difficulty in your discovery, you can ask on
the #autotools IRC channel on Freenode or directly to me (my pseudo is
‘mthl’).  I am not sure about your actual timezone (mine is UTC+2) but
if you are from India don't expect me to available too soon in the
morning.  :-)

HTH,

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37



Re: [GSoC] Proposal accepted

2018-04-25 Thread Mathieu Lirzin
Hello Matthias,

Matthias Paulmier  writes:

> I am very glad to announce that my proposal has been accepted ! I will
> be working this summer on modularizing Automake and improving its test
> suite.

Congrats.

> The community bonding period starts today until May the 14th. I will be
> a bit busy this week with my final exams (I failed to mention it in my
> proposals since I didn't realize those two things would overlap). My
> exams end on Friday.

No problem.

> As explained in my proposal, I will dedicate this period to familiarize
> myself with the Perl programming language as well as Automake's code. If
> anyone has any tips on how to setup my environment for it I will gladly
> take them :) (I'm using Debian GNU/Linux testing and Emacs as my
> editor). I am also looking for good resources on Perl.

It depends on your preference but basically Emacs has 2 major modes for Perl:

  - perl-mode
  - cperl-mode

‘perl-mode’ is the default but you can use ‘cperl-mode’ by adding the
following to your “.emacs”:

   (defalias 'perl-mode 'cperl-mode)

I found it nice to have an interactive interpreter when programming with
perl.  In emacs you can run ‘M-x perldb  perl -d -e ''’ for that.

One important point and not solved yet will be to use tags to navigate
to the definition of a particular subroutine easily.  I will take a look
if the ‘make tags’ result can be fixed.  For now you can use ‘M-x
rgrep‘.

In term of documentation Perl comes with an extensive set of manpages
which consist of tutorials and reference manuals.  In Emacs they can
conveniently be accessed with ‘M-x man  perl’.  ‘perlintro(1)’ is a
good entry point.  You can take a look at the “Learning Perl” book by
Tom Phoenix and Randal Schwartz too.

In order to discover Automake, the best you can do at the beginning is
to compile it (from Git) and report unclear points.  It will be
important to broadly understand Automake from a user perspective before
the coding period, so you can alternate your perl discovery with some
experimentation with Automake by following Automake info manual.

If you have any questions or difficulty in your discovery, you can ask
on the #autotools IRC channel on Freenode or directly to me (my pseudo
is ‘mthl’).

HTH,

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37