- 16 Jun, 2006 2 commits
-
-
Roland Levillain authored
Fix the recipient of Vcs' messages. * vcs/monoburg.rb (Vcs::monoburg_commit): Send messages to projects@lrde.epita.fr.
-
Roland Levillain authored
* NEWS: Update.
-
- 21 Mar, 2006 1 commit
-
-
Roland Levillain authored
-
- 14 Feb, 2006 1 commit
-
-
Roland Levillain authored
-
- 07 Feb, 2006 1 commit
-
-
Roland Levillain authored
from side effects.
-
- 06 Feb, 2006 1 commit
-
-
Roland Levillain authored
- src/parser.y (STATIC_STRLEN, BOUND_STRCMP, IS_TOKEN, EAT): New macros. (fgets_inc, nextchar, yylex): Use them to remove hard-coded numeric values. - tests/sample.brg: Typo.
-
- 01 Feb, 2006 2 commits
-
-
Roland Levillain authored
- TODO: More
-
Roland Levillain authored
Rework MonoBURG options. - configure.ac: Version 1.0.5. - NEWS: Update. - src/main.c (main): Set default include directory to "" instead of ".". Disable uncontrolled emission of `#line' directives. - src/parser.y (fgets_inc): Likewise. (WITH_REFERENCES): Rename token as... (CXX_REF): ...this. (NO_LINES, NO_GLIB, NO_EXPORTED_SYMBOLS): New tokens. (yylex): Generate these tokens. (decls): Use them in this production to recognize new \%-directives. (fgets_inc): Don't print empty include dirs. - tests/sample.brg: Use \%no-lines. - src/main.c (with_line, with_glib, with_exported_symbols) (with_references): Rename as... (lines_p, glib_p, exported_symbols_p, cxx_ref_p): ...these. (parse_options): Adjust. - src/monoburg.h, - src/emit.c (emit_includes, emit_header, emit_label_func) (emit_vardefs, emit_vardefs, emit_prototypes) - src/emit_cost.c (emit_cost_func) - src/emit_kids.c (emit_kids) - src/emit_functions.c (emit_emitter_func) - src/named_subtree.c (compute_vartree_decs_) - src/parser.y (fgets_inc, yyparsetail, yylex): Adjust.
-
- 19 Jan, 2006 3 commits
-
-
Roland Levillain authored
-
Roland Levillain authored
\%-directive.
-
Roland Levillain authored
Support Vcs. * configure.ac: Bump to 1.0.4a. * vcs/monoburg.rb: New. * COPYING, INSTALL: New.
-
- 07 Oct, 2005 1 commit
-
-
Michaël Cadilhac authored
* TODO: Modify to reflect current project status.
-
- 16 Sep, 2005 3 commits
-
-
Michaël Cadilhac authored
* src/named_subtree.h, * src/named_subtree.c: New. Named subtree related functions. Allow use in multi-rules. * src/rule.c, * src/rule.h: Move named subtree related functions to `src/named_subtree.[ch]'. Move memory cleaning related functions to `src/mem_clean.[ch]' * src/mem_clean.c, * src/mem_clean.h: New. Memory cleaning related functions. * src/emit_files.c: Use `mem_clean.h'. * src/parser.y, * src/emit_functions.c, * src/emit_cost.c: Allow named subtree in multi-rules. * src/main.c: Fix to (close to) compile with -pedantic. * src/Makefile.am: Add new files. * tests/sample.c.ref: Regen. * configure.ac, * NEWS: Bump to 1.0.4.
-
Michaël Cadilhac authored
* tests/Makefile.am: Use diff(1) instead of cmp(1) if VERBOSE is set. Copy the failing C file to `file.c.fail'.
-
Michaël Cadilhac authored
* src/emit_functions.c (emit_emitter_func): Fix small bug on #define optimization.
-
- 13 Sep, 2005 1 commit
-
-
Michaël Cadilhac authored
* tests/Makefile.am: Add monoburg$(EXEEXT) to the dependencies of .c files generated from .brg.
-
- 12 Sep, 2005 1 commit
-
-
Roland Levillain authored
* configure.ac: Bump to 1.0.3a. Check for Glib >= 2.6 (needed for GOptions).
-
- 11 Sep, 2005 1 commit
-
-
Michaël Cadilhac authored
* configure.ac, * NEWS: Bump to 1.0.3.
-
- 09 Sep, 2005 7 commits
-
-
Michaël Cadilhac authored
* configure.ac, * NEWS: Bump to 1.0.2b.
-
Michaël Cadilhac authored
* src/monoburg.1: Remove. Move to... * man/monoburg.1: New. ... here and update. * src/Makefile.am: Delete man reference. * man/Makefile.am: New. Created accordingly. * man: New. Man path. * configure.ac: Update accordingly. * Makefile.am: Update accordingly.
-
Michaël Cadilhac authored
* tests/Makefile.am: Add test facilities. * tests/sample.c.ref: New. Add reference code for tests/sample.brg.
-
Michaël Cadilhac authored
* src/emit.c, * src/rule.c, * src/emit_kids.c, * src/rule.h, * src/emit_files.c, * src/parser.y, * src/main.c, * src/emit_cost.c: Be consistent in memory use in order to erase memory leaks.
-
Michaël Cadilhac authored
* src/monoburg.h: Add a `with_line' variable which tells if `#line' directives have to be output. * src/main.c (parse_options): Parse the option. * src/parser.y: Output `#line' directives accordingly.
-
Michaël Cadilhac authored
* src/parser.h: Use `GList' for namespaces and include related features. * src/emit_files.c, * src/parser.y:, * src/main.c: Update accordingly.
-
Michaël Cadilhac authored
* NOTICE: Correct information. * src/rule.c, * src/rule.h: Clean code. * src/check.c: Check if `nonterm_list' is not empty before accessing its first element. * src/parser.y: Fix minor bug when more than one file is processed. * src/main.c: Fix minor bug with `--version' and put option parsing in a single function. * src/main.c (main): Ease memory leak detection by using a programmer-level allocator for list. * src/emit_functions.c, * src/emit_cost.c: Output C90 compliant code.
-
- 01 Sep, 2005 1 commit
-
-
Akim Demaille authored
* configure.ac: Bump to 1.0.2a.
-
- 31 Aug, 2005 1 commit
-
-
Akim Demaille authored
-I is not honored. * src/main.c: It seems that the values passed to the option processing callback of g_option_context_parse are not persistent. So use strdup/free for these values.
-
- 13 Jul, 2005 1 commit
-
-
Michaël Cadilhac authored
* sample.brg: Move to... * tests/sample.brg: ...Here. * parser.y: Move to... * src/parser.y: ...Here. * monoburg.1: Move to... * src/monoburg.1: ...Here. * monoburg.c, * monoburg.h: Split in... * src/emit.c, * src/parser.h, * src/emit.h, * src/rule.c, * src/emit_kids.c, * src/rule.h, * src/check.c, * src/emit_files.c, * src/emit_pretty_print.c, * src/check.h, * src/main.c, * src/emit_cost.c, * src/emit_functions.c, * src/monoburg.h: ...These files. * src/Makefile.am, * tests/Makefile.am: New. Create accordingly. * NOTICE, * AUTHORS, * NEWS: New. Add some package related files. * configure.ac, * Makefile.am: Update accordingly.
-
- 27 Jun, 2005 3 commits
-
-
Michaël Cadilhac authored
* configure.ac: Bump to 1.0.2.
-
Michaël Cadilhac authored
* monoburg.c (check_varname): Fix typo in yyerror call. * monoburg.c, * monoburg.h: Check the use of named rules with multiple rules. * parser.y: Call the named rules check with multiple rules.
-
Michaël Cadilhac authored
* parser.y: Add parsing of optional `name:' before a rule member. * monoburg.h, * monoburg.c: Add optional rule naming.
-
- 14 Jun, 2005 2 commits
-
-
Roland Levillain authored
* configure.ac: Bump to 1.0.1a.
-
Michaël Cadilhac authored
* monoburg.c: Add a `--quiet' option to disable warning messages.
-
- 13 Jun, 2005 2 commits
-
-
Michaël Cadilhac authored
* monoburg.c: Remove useless definitions of `g_new0' and `g_warning'. As they're not used in the output code, there's no reason to define them.
-
Michaël Cadilhac authored
* monoburg.c: Display usage message on the standard output and be less verbose on bad options.
-
- 09 Jun, 2005 5 commits
-
-
Michaël Cadilhac authored
* monoburg.c: Make the `usage' message more verbose.
-
Michaël Cadilhac authored
* monoburg.c: Add a `-n' option to precise the top #define used in the generated header.
-
Michaël Cadilhac authored
* parser.y, * monoburg.c, * monoburg.h: Rename "warn_cpp" function to "warn_cxx".
-
Michaël Cadilhac authored
* monoburg.c: Output MB_TERM* and MB_NTERM* in enums `MBTerms' and `MBNTerms'.
-
Michaël Cadilhac authored
* parser.y: Do not output "#line" directives when reading rules.
-