Browse Source

updating the README.md file

Eric Streit 3 weeks ago
parent
commit
3bf8bced5f
1 changed files with 22 additions and 0 deletions
  1. 22 0
      README.md

+ 22 - 0
README.md

@@ -1,3 +1,5 @@
+# Original README
+
 This directory and its subdirectories contain the sources of Coco/R itself,
 and also source code for various implementations of the compiler-specific
 module FileIO used by Coco/R itself for I/O, and also, in many cases, by
@@ -89,4 +91,24 @@ editors that provide for constructing IDE environments.  By simply renaming
 CRQ.FRM as CR.FRM and recompiling Coco/R you can easily generate this
 "editor oriented" version.
 
+## GNU Modula-2 Coco/R versions
+
+With the help of AI, I modified the sources of CR as well as the frames so
+it's now possible to generate GNU-Modula-2 compatible sources.
+
+The result is actually tested in subfolders Test,Test1 and Test2.
+
+Test is based on the original Pascal.atg grammar.
+
+Test1 is based on a subset of Modula2 atg grammar, to generate a full compiler, with 
+simple symbol table, type checking and emtting Modula-2 code as output. I could have 
+choosen anotyher language, but here, everything run on GNU M2. It's also to test the
+ GNU Modula-2 compiler in real programs.
+ 
+ Test2 is more elaborate : I simplified even more the grammar, to only have scalar types.
+ And I used QBE for backend. It's suprisely worked fine ...
+ 
+ Now, I'll make a plan for some real compiler work. The tests worked fine. But in 
+ small steps. Now defining the features required and the steps.
+
 =END=