Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mesheets authored Feb 25, 2020
1 parent e882d80 commit 9996e22
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,31 @@ These files are the source code for Ada/Mindstorms 2.0, the most important part

ada2nqc.adb is the top level file in the make tree. If you have AdaGIDE, building ada2nqc will automatically construct the translator executable ada2nqc.exe. Other important files are:

lego.adb, lego.ads: the Ada/Mindstorms API
trans_model.adb: contains the code that actually performs the translation
A95.g: an Ada grammar
other files: define data types and build the parse tree of the source Ada program
* **lego.adb, lego.ads**: the Ada/Mindstorms API
* **trans_model.adb**: contains the code that actually performs the translation
* **A95.g**: an Ada grammar
* **other files**: define data types and build the parse tree of the source Ada program

If you are making changes to the translator and/or adding functionality, you should never need to change anything apart from lego.adb, lego.ads, trans_model.adb, and possibly ada2nqc.adb if you are adding new command line arguments or options.

USAGE: from a DOS prompt,

ada2nqc foo
Translates foo.adb in the current directory to foo.nqc in the current directory
ada2nqc foo bar
Translates foo.adb in the current directory to bar.nqc in the current directory
ada2nqc foo
Translates foo.adb in the current directory to foo.nqc in the current directory

ada2nqc foo bar
Translates foo.adb in the current directory to bar.nqc in the current directory

Other extensions can be supplied; the default is .adb for the input file (first argument) and .nqc for the output file (second argument).


Links (some might need to be looked up via [archive.org](archive.org))
-----
[Ada Mindstorms](http://www.usafa.af.mil/df/dfcs/adamindstorms.cfm)
[Ada Mindstorms Manual](http://www.usafa.edu/df/dfcs/ada_Mindstorms_manual.cfm)
[AdaGIDE Home Page](http://adagide.martincarlisle.com/)
[AdaMindstorms Manual](http://www.citidel.org/bitstream/10117/145/7/Ada_Mindstorms_manual.htm)
[An Ada Interface to Lego Mindstorms](http://www.faginfamily.net/barry/Papers/AdaLetters.htm)
[Successfully Build an Ada Compiler in Arch](http://wiki.archlinux.org/index.php/Successfully_Build_an_Ada_Compiler_in_Arch)
[The GNU Ada Compiler](http://gnuada.sourceforge.net/)
* [Ada Mindstorms](http://www.usafa.af.mil/df/dfcs/adamindstorms.cfm)
* [Ada Mindstorms Manual](http://www.usafa.edu/df/dfcs/ada_Mindstorms_manual.cfm)
* [AdaGIDE Home Page](http://adagide.martincarlisle.com/)
* [AdaMindstorms Manual](http://www.citidel.org/bitstream/10117/145/7/Ada_Mindstorms_manual.htm)
* [An Ada Interface to Lego Mindstorms](http://www.faginfamily.net/barry/Papers/AdaLetters.htm)
* [Successfully Build an Ada Compiler in Arch](http://wiki.archlinux.org/index.php/Successfully_Build_an_Ada_Compiler_in_Arch)
* [The GNU Ada Compiler](http://gnuada.sourceforge.net/)

0 comments on commit 9996e22

Please sign in to comment.