nith: introduce `nith` the ligHt Nit compiler
authorJean Privat <jean@pryen.org>
Mon, 28 Apr 2014 15:49:05 +0000 (11:49 -0400)
committerJean Privat <jean@pryen.org>
Mon, 28 Apr 2014 15:49:38 +0000 (11:49 -0400)
commit03c0956232a8bd453c7e30f2f33ecb66a984fbb0
treeaaa89007226be5041b4108e58c5061dfc624970b
parent061bc5a1f19433ef97a17e5ebad65840289b4043
nith: introduce `nith` the ligHt Nit compiler

nith is just nitg with less features so, less phases to run,
and less code to compile (for a boostrap or test perspective).

Some numbers, note: `--skip-dead-methods` is used to produce less C code.

~~~
$ time nitg nitg.nit --skip-dead-methods
user 0m8.080s
$ time nitg nith.nit --skip-dead-methods
user 0m6.920s
~~~

Signed-off-by: Jean Privat <jean@pryen.org>
src/nith.nit [new file with mode: 0644]