diff options
| author | Joel Martin <github@martintribe.org> | 2014-10-04 18:34:49 -0500 |
|---|---|---|
| committer | Joel Martin <github@martintribe.org> | 2014-10-04 18:34:49 -0500 |
| commit | ba782e2c5c3849bba6c63e4d5a6ea67ca185063b (patch) | |
| tree | b53f8a4a611ce08ea8e9815dbdd75ecd66331a84 /docs/step_notes.txt | |
| parent | 69b4abd6efc7c65e59f73158ca93f4aa9b73116d (diff) | |
| download | mal-ba782e2c5c3849bba6c63e4d5a6ea67ca185063b.tar.gz mal-ba782e2c5c3849bba6c63e4d5a6ea67ca185063b.zip | |
docs/step_notes.txt: add step0_repl details.
Diffstat (limited to 'docs/step_notes.txt')
| -rw-r--r-- | docs/step_notes.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/step_notes.txt b/docs/step_notes.txt index 09bc356..117470f 100644 --- a/docs/step_notes.txt +++ b/docs/step_notes.txt @@ -4,6 +4,19 @@ Step Notes: - prompt, input, READ, EVAL, PRINT, output - readline module - display prompt, read line of input + - Details: + - get your language compiler/interpreter running + - create step0_repl.EXT + - loop that reads input, calls rep, writes output, exits + on EOF/Ctrl-D + - rep calls PRINT(EVAL(READ(str))) + - READ, EVAL, PRINT just return input parameter + - modify toplevel Makefile + - add language (directory name) to IMPLS + - add <lang>_STEP_TO_PROG entry + - add <lang>_RUNSTEP entry + - for a compiled language, add <lang>/Makefile + - targets: all, step*, stats, stats-lisp, - use native eval in EVAL if available |
