Commit graph

20 commits

Author SHA1 Message Date
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
3ebec3e4b0
biggest refactoring, OOP 2022-02-10 14:33:09 +01:00
Gwenhael Le Moine
9ebdb707c5
parser a static method of Interpreter 2022-02-09 16:33:47 +01:00
Gwenhael Le Moine
6dae5e3eb0
refactoring: inline parser & runner into Interpreter 2022-02-09 13:38:32 +01:00
Gwenhael Le Moine
36283d6d4b
generalize use of BigDecimal in :numeric's 2022-02-09 10:53:00 +01:00
Gwenhael Le Moine
8c5657db42
big refactoring 2022-02-08 15:45:36 +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
212ef879f3
fix TODO 2022-01-26 16:15:12 +01:00
Gwenhael Le Moine
5e0043879a
fix parsing " " word 2021-12-15 13:30:57 +01:00
Gwenhael Le Moine
cfcbcc7ce5
Rpl:: → Rpl::Lang:: 2021-12-07 15:50:58 +01:00
Gwenhael Le Moine
ac7cab6490
fix parsing error on program-closer » 2021-11-24 15:04:27 +01:00
Gwenhael Le Moine
e2abe0899c
implement BASE&co, store numeric's base and adapt display 2021-11-23 16:16:21 +01:00
Gwenhael Le Moine
66f622ac68
[refactoring] rename to Rpl; unsplit core 2021-11-23 13:10:03 +01:00
Gwenhael Le Moine
ca315724ff
add runner and dictionary 2021-11-10 11:01:26 +01:00
Gwenhael Le Moine
26c75346a7
sanitize « and » 2021-11-09 22:03:39 +01:00
Gwenhael Le Moine
ff0aae8ece
pass all tests 2021-11-09 21:58:25 +01:00
Gwenhael Le Moine
a4cfed2cc4
[WIP] refactoring in classes, parsing 2021-11-09 16:50:01 +01:00
Gwenhael Le Moine
edccbf1bda
harmonization with Crystal syntax 2021-10-31 09:18:34 +01:00
Gwenhael Le Moine
67632c6fb4
unit-test parser ruby spec/parser_spec.rb <-n test_parse_input_word> 2021-10-30 23:37:15 +02:00