comparison src/keywordlist.txt @ 124:8770e6f977c3

Rework parser to use parse_wordtab for symbols too There's no reason not to use the parse_wordtab table thing to match the symbols with their token codes. It takes less space than the combined code and tables to do it separately.
author William Astle <lost@l-w.ca>
date Mon, 01 Jan 2024 15:57:59 -0700
parents 5681cdada362
children ac183a519439
comparison
equal deleted inserted replaced
123:5681cdada362 124:8770e6f977c3
1 AND,token_and 1 ! token_bang
2 AS,token_as 2 # token_hash
3 ASC,token_asc 3 $ token_dollar
4 DATA,token_data 4 % token_percent
5 ELSE,token_else 5 & token_amp
6 END,token_end 6 ' token_apos
7 GO,token_go 7 ( token_oparen
8 LET,token_let 8 ) token_cparen
9 LIST,token_list 9 * token_star
10 NEW,token_new 10 + token_plus
11 NOT,token_not 11 , token_comma
12 OR,token_or 12 - token_minus
13 POP,token_pop 13 / token_slash
14 PRINT,token_print 14 : token_stmtsep
15 REM,token_rem 15 ; token_semi
16 RETURN,token_return 16 ? token_print
17 RUN,token_run 17 @ token_at
18 STOP,token_stop 18 ^ token_exp
19 SUB,token_sub 19 < token_lt
20 TO,token_to 20 <= token_le
21 => token_le
22 > token_gt
23 >= token_ge
24 => token_ge
25 <> token_ne
26 >< token_ne
27 = token_eq
28 AND token_and
29 AS token_as
30 ASC token_asc
31 DATA token_data
32 ELSE token_else
33 END token_end
34 GO token_go
35 LET token_let
36 LIST token_list
37 NEW token_new
38 NOT token_not
39 OR token_or
40 POP token_pop
41 PRINT token_print
42 REM token_rem
43 RETURN token_return
44 RUN token_run
45 STOP token_stop
46 SUB token_sub
47 TO token_to