Update documentation.

* HACKING: Describe (mes-use-modules).
* NEWS: Update.
This commit is contained in:
Jan Nieuwenhuizen 2016-10-16 14:00:40 +02:00
parent ac4b1eed3f
commit 1e59009102
2 changed files with 13 additions and 4 deletions

14
HACKING
View File

@ -49,6 +49,17 @@ full C parser.
- Sloooowwwww with intepreter?
* Bugs
** Core is too fat
mes.c is ~1500 lines (~10,000LOC Assembly) which seems much too big to
start translating it to assembly/hex.
** (mes-use-module ...) is a fake, see module/mes/base.mes.
All top level scripts and test files (scripts/*.mes tests/*.test)
now include appropriate (mes-use-module ...) stanzas.
This hack allows for scripts/includes.mes to generate the list of
files to be prepended. Previously, this information was put in
GNUmakefile.
** Garbage collection?
Mes is using malloc without freeing anything, memory is patient these
days :-)
@ -80,9 +91,6 @@ neat, Lisp/Scheme, bootstrapping and trusted binaries are probably not
in scope as there is no mention of such things; only ML is mentioned
while Guile is used for bootstrapping.
mes.c is ~1500 lines (~10,000LOC Assembly) which seems much too big to
start translating it to assembly/hex.
* Assorted ideas and info
** C parser/compiler
*** [[https://savannah.gnu.org/projects/nyacc][nyacc]]

3
NEWS
View File

@ -18,10 +18,11 @@ Please send Mes bug reports to janneke@gnu.org.
*** Mes now provides a subset of R5RS.
*** Mes now provides let-syntax.
*** Mes now provides match.
*** Mes now provides quasisyntax, unsyntax and unsyntax-splicing.
** User interface
*** Mes now provides a REPL, run:
scripts/repl.mes
* Mes compiler can be run as a script:
*** Mes compiler can be run as a script:
scripts/mescc.mes doc/examples/main.c
*** Macro expansion can be inspected in the REPL, e.g.:
,expand (and 0 1)