1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Hello all, |
5 |
This is the first weekly progress report for libbash. |
6 |
|
7 |
This project is a two parter: 1) implement an Abstract Syntax Tree (AST) parser for the bash language |
8 |
2) Implement a library (libbash) that will allow C++ to use this AST. |
9 |
|
10 |
The first goal is what I'm working on right now. |
11 |
|
12 |
Last week was the first complete iteration. Here's what was accomplished: |
13 |
|
14 |
1)Set up the project hosting at gitthub [0] |
15 |
2) Set up and configured Hudson [1] for continuous integration, mostly just to keep all the unit tests in check |
16 |
3) Integer arithmetic expansions has been implemented. This is done in the most verbose possible way. |
17 |
4) Parameter expansions (${paramname}, etc) are implemented |
18 |
5) Conditional expressions are implemented |
19 |
|
20 |
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: |
21 |
|
22 |
After this iteration the tree should be able to handle Compound commands and everything that it requires including: |
23 |
|
24 |
Comment parsing |
25 |
Reserved word parsing |
26 |
Redirection expressions parsing |
27 |
Simple Commands |
28 |
Pipelines |
29 |
Lists |
30 |
Brace Expansion |
31 |
Command Substitution |
32 |
Arrays |
33 |
|
34 |
Also, I want to make the resulting AST for arithmetic expressions much less verbose |
35 |
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. |
36 |
|
37 |
Nathan Eloe |
38 |
|
39 |
-----BEGIN PGP SIGNATURE----- |
40 |
Version: GnuPG/MacGPG2 v2.0.14 (Darwin) |
41 |
|
42 |
iEYEARECAAYFAkwFB8QACgkQFpoRlVgtqKbW2ACeMplJkee803PKkkg2SjCoaWfo |
43 |
JVsAn3ju4JXY/lN/SPqELRyXp4x442nq |
44 |
=MtU4 |
45 |
-----END PGP SIGNATURE----- |