aboutsummaryrefslogtreecommitdiff
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* Utility: add a script for metadata correctness statisticMu Qiao2011-05-231-0/+36
|
* Utility: removed unused meta_gen.shMu Qiao2011-05-231-24/+0
| | | | | | As we already have an implementation of instruo so meta_gen.sh is not needed any more. The target is not useful as we can simply run instruo rather than make metadata_generation.
* Utility: ignore exceptions that we can't handleMu Qiao2011-05-231-0/+12
| | | | | | Our implementation is not complete so some exceptions occur. We'll ignore them for now and will look into them in future. The return exception is modified to provide more information.
* Core&Utility: return non zero exit status on failureMu Qiao2011-05-131-21/+31
| | | | | The public API, ast_printer and bash_ast are refactored to return non zero exit status on failure.
* Utils: reimplement instruo with libbashMu Qiao2011-05-086-82/+547
| | | | | | With the help of instruo from Paludis, we can setup variables to bash env needed for metadata generation. In the meanwhile, we can compare the original instruo utility with our implementation.
* Builtin: implement inherit builtinMu Qiao2011-04-281-11/+29
| | | | | metadata_generator is improved to make use of the information added by inherit builtin.
* Core: use reference/pointer for the interpreter objectMu Qiao2011-04-281-8/+8
| | | | | | We don't share interpreter object and it's safer to use reference rather than shared_ptr. Raw pointer is used in the generated C source code.
* Merge remote-tracking branch 'mu/compound_expr'Petteri Räty2011-04-271-1/+7
|\
| * Walker: support for each loopMu Qiao2011-04-251-1/+7
| | | | | | | | | | Syntax like "for x in blah" is supported now. Empty value used as $@ is not supported for now. Add support for $? variable.
* | Utility: write a script that generates ebuild metadataMu Qiao2011-04-261-0/+24
| |
* | Utility: improve the output format of metadata_generatorMu Qiao2011-04-261-1/+16
| | | | | | | | | | The metadata_generator now generates the same format as what Portage does.
* | Core: support DEFINED_PHASES for metadata generationMu Qiao2011-04-262-6/+44
|/ | | | | | We need to retrieve names of defined functions in order to generate DEFINED_PHASES. The public API is modified a bit to support it. A custom test is added for metadata generation.
* Utility: implement a simple metadata generatorMu Qiao2011-04-201-0/+56
| | | | Use static linking to avoid confusion with libtool while benchmark.
* Build: separate utility programs from testsMu Qiao2011-04-202-0/+238