Commit graph

15 commits

Author SHA1 Message Date
Gwenhael Le Moine
7a5e3bf262
renamed words spec files 2022-08-31 12:20:27 +02:00
Gwenhael Le Moine
159a963490
wrapper around object creation 2022-02-28 11:40:47 +01:00
Gwenhael Le Moine
fcb809d797
[WIP] almost there 2022-02-26 18:53:39 +01:00
Gwenhael Le Moine
7fce85d694
switch from test-unit to minitest 2022-02-17 15:09:29 +01:00
Gwenhael Le Moine
8b07724e50
make it a gem 2022-02-15 17:06:19 +01:00
Gwenhael Le Moine
0f09f57f5d
change semantic of TIMES and LOOP 2022-02-11 16:06:57 +01:00
Gwenhael Le Moine
b8724a4a1c
refactoring: split interpreter 2022-02-10 14:50:59 +01:00
Gwenhael Le Moine
6dae5e3eb0
refactoring: inline parser & runner into Interpreter 2022-02-09 13:38:32 +01:00
Gwenhael Le Moine
6907e8b9dc
don't store surrounding '' "" «» in value, eliminate [1..-2] in value use 2022-01-26 18:30:51 +01:00
Gwenhael Le Moine
dca6825602
add and implement LOOP and TIMES loops 2021-12-09 16:31:29 +01:00
Gwenhael Le Moine
1ddccc3eee
all tests use lang.run() instead of handcrafted stacks 2021-12-08 16:08:49 +01:00
Gwenhael Le Moine
53e1614081
test IFT explicitly 2021-12-08 13:14:09 +01:00
Gwenhael Le Moine
67a4213eb4
all words take and return stack & dictionary 2021-12-07 16:46:33 +01:00
Gwenhael Le Moine
cfcbcc7ce5
Rpl:: → Rpl::Lang:: 2021-12-07 15:50:58 +01:00
Gwenhael Le Moine
b7d748ac5d
implement IFTE and IFT 2021-11-24 16:34:13 +01:00