Gentoo Archives: gentoo-soc

From: Nathan Eloe <powerofazure@×××××.com>
To: gentoo-soc@l.g.o
Subject: [gentoo-soc] libbash: progress report week 2
Date: Mon, 07 Jun 2010 14:16:03
Message-Id: CDE0B243-0882-4DA1-97C1-4ADA808F9A06@gmail.com
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Hello all.
5
6 This is the weekly project update for libbash.
7
8 Libbash is being designed to allow programs like repoman to use Abstract Syntax Trees to parse bash commands instead of regular expressions. Also, it will be a library that allows C++ to talk to bash (using this AST).
9
10 What I've accomplished this week:
11 The parser now handles comments, reserved words, redirection expressions, simple commands, pipelines, lists, brace expansions and command substitution.
12
13 By the end of this week I will have added support for Arrays and compound commands, as well as simplified slightly the resulting tree from the arithmetic expansion.
14 Also, I plan to scope the current parser against real code to see what I'm missing.
15 One more goal for this week is to design an example that will show how Repoman can use this code to perform one of the many QA checks that it does.
16
17 Nathan
18
19 -----BEGIN PGP SIGNATURE-----
20 Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
21
22 iEYEARECAAYFAkwM/xYACgkQFpoRlVgtqKZ+jgCghaRSg6DLznNjczAn+YvKtTVV
23 QgIAoJDQnM2aC883w7zohYrvWOcn4yk6
24 =N7Qj
25 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-soc] libbash: progress report week 2 "Domen Kožar" <domen@×××.si>