TODO 1.31 KB
Newer Older
Benoit Perrot's avatar
Benoit Perrot committed
1
2
3
4
5
6
7
				MonoBURG
				********

Suggestions
===========

* Suggested by Akim Demaille:
8
  The macros emitted to compensate glib might be grouped in a single string, 
Benoit Perrot's avatar
Benoit Perrot committed
9
10
11
12
  defined in an external file `/usr/share/monoburg/monoburg-header.h', then 
  output by a single call to output().

  This is nicer but it needs an external file to be installed.
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41

* Reserve %include for brg files?

  Instead of allowing an %include directive in the prelude, we might
  provide verbatim sections with %{ and %}, à la Yacc.  Thus,

    %include foo.h
    %%
    # ...

  would be written

    %{
    #include "foo.h"
    %}
    %%
    # ...

  I (Roland) am not completely sure about this, so comments are
  welcome.

* Provide header-define option as a %-directive

* Revamp the scanner.

  It is a real mess.  Either use a Lex-generated scanner (but it adds a
  dependency on another tool, which Mono developers might not want); or
  rewrite it.

Roland Levillain's avatar
Roland Levillain committed
42
43
44
45
46
47
48
* Postponed output emission.

  Don't write the output file during the parsing, as options can be
  passed as %-directives. This options may affect the output files, so
  we should parse the input file(s) entirely, and only then start
  emitting output files.

Roland Levillain's avatar
Roland Levillain committed
49
  See how Bison handles this.
50
51
52
53
54
55
56


Local Variables:
mode: outline
ispell-local-dictionary: "american"
End:

Roland Levillain's avatar
Roland Levillain committed
57
LocalWords:  MonoBURG Lex brg ispell american