Gwenhael Le Moine
|
cbcaeea510
|
formatting
|
2021-12-09 16:32:19 +01:00 |
|
Gwenhael Le Moine
|
f3ca267a93
|
EVAL can eval anything
|
2021-12-09 16:32:03 +01:00 |
|
Gwenhael Le Moine
|
dca6825602
|
add and implement LOOP and TIMES loops
|
2021-12-09 16:31:29 +01:00 |
|
Gwenhael Le Moine
|
88effd8dfa
|
test using alias
|
2021-12-09 16:30:52 +01:00 |
|
Gwenhael Le Moine
|
f123cd152c
|
test test
|
2021-12-09 09:13:17 +01:00 |
|
Gwenhael Le Moine
|
c49e79ae1c
|
s/_or_equal_than/_than_or_equal/g
|
2021-12-09 09:12:51 +01:00 |
|
Gwenhael Le Moine
|
464b1c511e
|
I prefer .lookup() rather than []
|
2021-12-08 16:38:46 +01:00 |
|
Gwenhael Le Moine
|
50f36fa5c3
|
new alias
|
2021-12-08 16:38:31 +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
|
490dfa5583
|
INV result is a Float
|
2021-12-08 16:08:14 +01:00 |
|
Gwenhael Le Moine
|
e7532a3559
|
EVAL all the things!!!
|
2021-12-08 16:07:56 +01:00 |
|
Gwenhael Le Moine
|
dd8edd627d
|
better implementation leveraging CHS and INV
|
2021-12-08 16:07:16 +01:00 |
|
Gwenhael Le Moine
|
6b57d03627
|
trim "" from strings before use
|
2021-12-08 16:06:35 +01:00 |
|
Gwenhael Le Moine
|
5d4c978c76
|
parse 5.0 as a Float
|
2021-12-08 16:06:10 +01:00 |
|
Gwenhael Le Moine
|
63da2d408b
|
moer aliases
|
2021-12-08 16:05:30 +01:00 |
|
Gwenhael Le Moine
|
6cc8fb0cd6
|
implement more words in pure Rpl
|
2021-12-08 13:46:06 +01:00 |
|
Gwenhael Le Moine
|
d9a4a13eb9
|
repl handles exceptions nicelier
|
2021-12-08 13:45:29 +01:00 |
|
Gwenhael Le Moine
|
f50528223c
|
comment not-yet-implemented words
|
2021-12-08 13:16:27 +01:00 |
|
Gwenhael Le Moine
|
9aba355ee6
|
not even sure we're ever going to implement EDIT
|
2021-12-08 13:15:52 +01:00 |
|
Gwenhael Le Moine
|
21b090aa9f
|
implement in pure Rpl
|
2021-12-08 13:15:33 +01:00 |
|
Gwenhael Le Moine
|
8ac18e6517
|
convert to Integer before using .times
|
2021-12-08 13:14:42 +01:00 |
|
Gwenhael Le Moine
|
53e1614081
|
test IFT explicitly
|
2021-12-08 13:14:09 +01:00 |
|
Gwenhael Le Moine
|
8816e6ce32
|
implement store.* (STO, RCL, PURGE, ...)
|
2021-12-08 12:46:57 +01:00 |
|
Gwenhael Le Moine
|
169e5249db
|
format type's string correctly
|
2021-12-08 12:35:19 +01:00 |
|
Gwenhael Le Moine
|
e318296e29
|
all words expect ( stack, dictionary )
|
2021-12-08 12:34:12 +01:00 |
|
Gwenhael Le Moine
|
300e061beb
|
[WIP] store
|
2021-12-07 16:51:33 +01:00 |
|
Gwenhael Le Moine
|
67a4213eb4
|
all words take and return stack & dictionary
|
2021-12-07 16:46:33 +01:00 |
|
Gwenhael Le Moine
|
c13692c030
|
fix merge
|
2021-12-07 16:19:23 +01:00 |
|
Gwenhael Le Moine
|
d537087088
|
merge
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
|
2021-12-07 16:17:28 +01:00 |
|
Gwenhael Le Moine
|
c6fc0b3bc8
|
Rpl::Repl → RplRepl
|
2021-12-07 16:09:17 +01:00 |
|
Gwenhael Le Moine
|
ff48cef22a
|
split language and REPL; lib/language → lib/core
|
2021-12-07 16:03:03 +01:00 |
|
Gwenhael Le Moine
|
cfcbcc7ce5
|
Rpl:: → Rpl::Lang::
|
2021-12-07 15:50:58 +01:00 |
|
Gwenhael Le Moine
|
ca6b79a8ad
|
implement pi, e and some operations
|
2021-12-02 15:33:22 +01:00 |
|
Gwenhael Le Moine
|
803036b89e
|
note alias for STO
|
2021-11-24 16:48:51 +01:00 |
|
Gwenhael Le Moine
|
b7d748ac5d
|
implement IFTE and IFT
|
2021-11-24 16:34:13 +01:00 |
|
Gwenhael Le Moine
|
a26c059394
|
implement test words (untested)
|
2021-11-24 16:09:57 +01:00 |
|
Gwenhael Le Moine
|
09c44b684d
|
implement string words
|
2021-11-24 15:04:56 +01:00 |
|
Gwenhael Le Moine
|
ac7cab6490
|
fix parsing error on program-closer »
|
2021-11-24 15:04:27 +01:00 |
|
Gwenhael Le Moine
|
395406d516
|
fix the fix
|
2021-11-24 13:53:41 +01:00 |
|
Gwenhael Le Moine
|
42f02e8e94
|
fix stack_extract test
|
2021-11-24 13:52:32 +01:00 |
|
Gwenhael Le Moine
|
8e7c50fc66
|
Merge branch 'trunk' of ssh://src.le-moine.org:38172/gwh/rpn.rb into trunk
|
2021-11-24 13:48:22 +01:00 |
|
Gwenhael Le Moine
|
3809c4b58b
|
reverse extracted stack order to match needs, +String
|
2021-11-24 13:33:44 +01:00 |
|
Gwenhael Le Moine
|
e114a05207
|
test (some of) core
|
2021-11-23 21:03:17 +01:00 |
|
Gwenhael Le Moine
|
706f767aaa
|
parse 0xyz000 numbers
|
2021-11-23 16:54:23 +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
|
95e2419931
|
test all implemented operations
|
2021-11-23 13:01:17 +01:00 |
|
Gwenhael Le Moine
|
4ec3211b61
|
name test classes correctly
|
2021-11-23 13:00:42 +01:00 |
|
Gwenhael Le Moine
|
fe799845aa
|
remove Core.init, default precision is actually a default
|
2021-11-23 12:59:45 +01:00 |
|
Gwenhael Le Moine
|
655a14e36e
|
implement SIGN
|
2021-11-18 15:58:59 +01:00 |
|