* [gentoo-soc] Libbash GSoC - Week 1
@ 2010-06-01 13:14 Nathan Eloe
0 siblings, 0 replies; only message in thread
From: Nathan Eloe @ 2010-06-01 13:14 UTC (permalink / raw
To: gentoo-soc
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello all,
This is the first weekly progress report for libbash.
This project is a two parter: 1) implement an Abstract Syntax Tree (AST) parser for the bash language
2) Implement a library (libbash) that will allow C++ to use this AST.
The first goal is what I'm working on right now.
Last week was the first complete iteration. Here's what was accomplished:
1)Set up the project hosting at gitthub [0]
2) Set up and configured Hudson [1] for continuous integration, mostly just to keep all the unit tests in check
3) Integer arithmetic expansions has been implemented. This is done in the most verbose possible way.
4) Parameter expansions (${paramname}, etc) are implemented
5) Conditional expressions are implemented
This iteration is twice as long as the last and I've learned a lot more about how ANTLR does and doesn't work, so the goals are much more lofty:
After this iteration the tree should be able to handle Compound commands and everything that it requires including:
Comment parsing
Reserved word parsing
Redirection expressions parsing
Simple Commands
Pipelines
Lists
Brace Expansion
Command Substitution
Arrays
Also, I want to make the resulting AST for arithmetic expressions much less verbose
By the end of the second week, I should be able to have at least through Brace Expansion completed and will go further if possible.
Nathan Eloe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
iEYEARECAAYFAkwFB8QACgkQFpoRlVgtqKbW2ACeMplJkee803PKkkg2SjCoaWfo
JVsAn3ju4JXY/lN/SPqELRyXp4x442nq
=MtU4
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-06-01 13:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-01 13:14 [gentoo-soc] Libbash GSoC - Week 1 Nathan Eloe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox