Commit graph

17 commits

Author SHA1 Message Date
Gwenhael Le Moine
7a5e3bf262
renamed words spec files 2022-08-31 12:20:27 +02:00
Gwenhael Le Moine
240cf0ea56
indentation 2022-03-01 21:54:39 +01:00
Gwenhael Le Moine
9c29599fb7
STO{+,-,/,*} follow semantic of rpn-2.4 2022-03-01 21:53:43 +01: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
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
8c5657db42
big refactoring 2022-02-08 15:45:36 +01:00
Gwenhael Le Moine
a8dec5f2a4
implement LSTO 2022-02-02 15:20:24 +01:00
Gwenhael Le Moine
e96c3f94de
usr %w[] 2022-02-02 15:19:14 +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
464b1c511e
I prefer .lookup() rather than [] 2021-12-08 16:38:46 +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
8816e6ce32
implement store.* (STO, RCL, PURGE, ...) 2021-12-08 12:46:57 +01:00
Gwenhael Le Moine
300e061beb
[WIP] store 2021-12-07 16:51:33 +01:00