summaryrefslogtreecommitdiff
path: root/minie/README
diff options
context:
space:
mode:
Diffstat (limited to 'minie/README')
-rw-r--r--minie/README35
1 files changed, 21 insertions, 14 deletions
diff --git a/minie/README b/minie/README
index fe0ebc5..e7ea35d 100644
--- a/minie/README
+++ b/minie/README
@@ -1,14 +1,21 @@
-gcc -g -O0 -Wall -pedantic -std=c89 -o e2c e2c.c
-./e2c < test1.e
-./e2c < test2.e
-./e2c < test3.e
-./e2c < test4.e
-
-./e2c < test4.e > test4.c && gcc -o test4 test4.c && ./test4
-
-./e2c < ec.e
-./e2c < ec.e > ec.c && gcc -o ec ec.c
-./ec < test1.e > test1.asm
-nasm -o test1.bin -f bin test1.asm
-ndisasm -b32 test1.bin
-../crenshaw/emul test1.bin
+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'