blob: 2e2af823622904ba4ce97641ba4c70712661feca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
Transpiler
----------
e2c.c : written in C89, translates E code to C89 code. Compile to
a running binary with any C toolchain
Stage 0 E compiler
------------------
ec.e : stage 0 E compiler
testX.e : test cases for stage 0 compiler
Test cases for the language E
-----------------------------
test1: empty module
test2: syntax error, no module definition
test3: module definition lacking a module name
test4: general expressions and variables
test5: basic system input/output, import of pseudo module 'system'
test6: internal function 'length', system functions for stdio and stdin
test7: a proper string length function using 'length' and introducing
a function taking array of arbitrary length
test8: loops
test9: read characters as in a lexer
|