Skip to content

Commit 8c1517c

Browse files
Clean up the specification (spec.txt). Previous commit didn't include a few minor modifications.
1 parent bc5cf42 commit 8c1517c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

spec.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -592,11 +592,11 @@ Notes:
592592
purposes.
593593

594594
Example invocations (illustrative):
595-
- File mode: 'interpreter program.asm'
596-
- Source-string mode: 'interpreter -source "foo = INPUT\nPRINT(foo)"
595+
- File mode: 'asmln program.asmln'
596+
- Source-string mode: 'asmln -source "foo = INPUT\nPRINT(foo)"
597597
-verbose'
598598

599-
- REPL / Interactive mode: 'interpreter' (no program argument)
599+
- REPL / Interactive mode: 'asmln' (no program argument)
600600

601601
REPL (Interactive Mode)
602602
-----------------------
@@ -636,7 +636,7 @@ semantics as file-mode execution. The following rules describe REPL behaviour:
636636
available.
637637

638638
Notes and examples:
639-
- Start REPL: 'interpreter'
639+
- Start REPL: 'asmln'
640640
- Exit via meta-command: type '.exit' or press Ctrl-D (EOF)
641641
- Exit programmatically: 'EXIT()' — this immediately terminates the
642642
interpreter and returns the specified exit code to the shell, just like in
@@ -834,7 +834,7 @@ Host and environment information:
834834
call takes no arguments and returns a STR.
835835

836836
Control / Function / Statement Signatures (statement position)
837-
- Assignment: 'TYPE ; identifier = expression' on first use; subsequent
837+
- Assignment: 'TYPE : identifier = expression' on first use; subsequent
838838
assignments omit TYPE but must match the original type
839839
- Block: '[ statement1 ... statementN ]' or '{ statement1 ... statementN }'
840840
- 'IF(condition)[ block ]'

0 commit comments

Comments
 (0)