Commit graph

  • c89c832b96
    [WIP] start to implement types as Objects Gwenhael Le Moine 2022-02-24 16:48:31 +01:00
  • 148366914e
    readability Gwenhael Le Moine 2022-02-24 16:45:45 +01:00
  • e2aee4ad22
    commenting and formatting Gwenhael Le Moine 2022-02-24 15:28:40 +01:00
  • 541b1d650f
    strings and lists are somewhat similar and words overlap Gwenhael Le Moine 2022-02-24 15:27:11 +01:00
  • 76729d556c
    doesn't make sense here Gwenhael Le Moine 2022-02-23 11:34:09 +01:00
  • 7a95bf4826
    implement WORDS .d .v .lv Gwenhael Le Moine 2022-02-23 11:33:43 +01:00
  • 0927f88fd9
    implement DOLIST Gwenhael Le Moine 2022-02-22 17:14:14 +01:00
  • 42fc1ddb9b
    replace Makefile with equivalent Rakefile Gwenhael Le Moine 2022-02-22 16:53:28 +01:00
  • aeacfc8655
    0.5.0 Gwenhael Le Moine 2022-02-22 16:40:49 +01:00
  • e0b085bc8a
    implement MANT Gwenhael Le Moine 2022-02-22 16:38:42 +01:00
  • 29f181fbe0
    make targets for running and testing Gwenhael Le Moine 2022-02-22 16:14:47 +01:00
  • 88e6461132
    0.4.0 Gwenhael Le Moine 2022-02-22 15:55:07 +01:00
  • 265b32423e
    require bigdecimal Gwenhael Le Moine 2022-02-22 15:54:53 +01:00
  • 77afa709f4
    allow comments, using '#' Gwenhael Le Moine 2022-02-22 15:53:22 +01:00
  • 777659da1c
    offer alternatives to not-implemented words Gwenhael Le Moine 2022-02-22 15:34:56 +01:00
  • 14567f4d96
    todo comments Gwenhael Le Moine 2022-02-22 15:34:32 +01:00
  • 1f62c632fd
    parse numerics of all possible bases (0b, 0o, 0x, 0NNN_) Gwenhael Le Moine 2022-02-22 15:33:36 +01:00
  • dec32d7f9b
    fix eval'ing :string Gwenhael Le Moine 2022-02-22 14:58:17 +01:00
  • eb7c3a3d73
    0.3.0 Gwenhael Le Moine 2022-02-17 15:22:27 +01:00
  • 0ad027a6b6
    optimize eval and fix it for :list Gwenhael Le Moine 2022-02-17 15:21:24 +01:00
  • f4fa29da5c
    parser understands lists Gwenhael Le Moine 2022-02-17 15:14:20 +01:00
  • 7fce85d694
    switch from test-unit to minitest Gwenhael Le Moine 2022-02-17 15:09:29 +01:00
  • 9480c49272
    up version to 0.2.0 Gwenhael Le Moine 2022-02-16 16:29:28 +01:00
  • e143ef2a29
    helper Makefile Gwenhael Le Moine 2022-02-16 16:29:18 +01:00
  • e9a269e652
    [bin/rpl] implicit -i if no args given Gwenhael Le Moine 2022-02-16 16:28:33 +01:00
  • dc5159cf11
    Merge branch 'trunk' of ssh://src.le-moine.org:38172/gwh/rpl.rb into trunk Gwenhael Le Moine 2022-02-16 16:25:14 +01:00
  • e529b19f12
    bin/rpl can load files, run code, optionally start a REPL and print stack's content on exit Gwenhael Le Moine 2022-02-16 16:23:37 +01:00
  • f74a8d8e45
    allow making REPL using preloaded interpreter Gwenhael Le Moine 2022-02-16 16:22:52 +01:00
  • 603a1627df
    RPL's lists are enclosed in {} Gwenhael Le Moine 2022-02-16 16:21:37 +01:00
  • 5a53b960b4
    fix gemspec required_ruby_version Gwenhael Le Moine 2022-02-15 18:54:54 +01:00
  • 42244c7106
    Merge branch 'trunk' of ssh://src.le-moine.org:38172/gwh/rpl.rb into trunk Gwenhael Le Moine 2022-02-15 18:48:27 +01:00
  • df32808ae0
    xpon Gwenhael Le Moine 2022-02-15 18:48:19 +01:00
  • 8b07724e50
    make it a gem Gwenhael Le Moine 2022-02-15 17:06:19 +01:00
  • c4e5356467
    define RplRepl only if called directly Gwenhael Le Moine 2022-02-15 13:18:01 +01:00
  • 0b125b6b53
    [repl] completion based on dictionary's words and vars Gwenhael Le Moine 2022-02-15 11:15:16 +01:00
  • fece818539
    dangling lines Gwenhael Le Moine 2022-02-15 11:15:10 +01:00
  • 817823be0d
    rpl.rb +x Gwenhael Le Moine 2022-02-15 11:09:39 +01:00
  • 8f1f871904
    continue to prepare implementation Gwenhael Le Moine 2022-02-11 16:30:49 +01:00
  • a704d57a4f
    prepare implementation Gwenhael Le Moine 2022-02-11 16:15:38 +01:00
  • 2eb8fa91ef
    logs → logarithm Gwenhael Le Moine 2022-02-11 16:15:01 +01:00
  • 0f09f57f5d
    change semantic of TIMES and LOOP Gwenhael Le Moine 2022-02-11 16:06:57 +01:00
  • 2d94127444
    refactoring, make comment active documentation Gwenhael Le Moine 2022-02-11 15:46:47 +01:00
  • c2043ba663
    merge REPL in main file rpl.rb Gwenhael Le Moine 2022-02-10 18:38:38 +01:00
  • 80fbf082b2
    fix stack_extract Gwenhael Le Moine 2022-02-10 18:37:44 +01:00
  • e9e44f7d69
    extracting from stack in 2 steps to leave stack intact in case of error Gwenhael Le Moine 2022-02-10 14:57:14 +01:00
  • b8724a4a1c
    refactoring: split interpreter Gwenhael Le Moine 2022-02-10 14:50:59 +01:00
  • 3ebec3e4b0
    biggest refactoring, OOP Gwenhael Le Moine 2022-02-10 14:33:09 +01:00
  • a148d73a5e
    document all remaining (implemented) words Gwenhael Le Moine 2022-02-10 09:54:24 +01:00
  • 5fcf628705
    [wip] document more words; meh Gwenhael Le Moine 2022-02-09 16:59:36 +01:00
  • 195ebb37b7
    implement HELP Gwenhael Le Moine 2022-02-09 16:38:09 +01:00
  • 912ca03f9c
    implement BREAK Gwenhael Le Moine 2022-02-09 16:37:46 +01:00
  • 282ab3b239
    TODO Gwenhael Le Moine 2022-02-09 16:37:32 +01:00
  • 9ab26ef85e
    naming & kludge Gwenhael Le Moine 2022-02-09 16:37:18 +01:00
  • 6e77c313b2
    implement VERSION and UNAME Gwenhael Le Moine 2022-02-09 16:35:54 +01:00
  • 717e04549e
    test core.stringify Gwenhael Le Moine 2022-02-09 16:35:17 +01:00
  • 7d1a91705b
    indentation Gwenhael Le Moine 2022-02-09 16:35:11 +01:00
  • d00a6e8ac7
    grammar Gwenhael Le Moine 2022-02-09 16:34:12 +01:00
  • 9ebdb707c5
    parser a static method of Interpreter Gwenhael Le Moine 2022-02-09 16:33:47 +01:00
  • 6982deaefc
    x/0 = ∞ Gwenhael Le Moine 2022-02-09 16:31:24 +01:00
  • b98a97b6b8
    all :numerics need to be BigDecimal Gwenhael Le Moine 2022-02-09 16:29:01 +01:00
  • 922ecf1bb6
    stringify infinites and NaN Gwenhael Le Moine 2022-02-09 16:28:35 +01:00
  • 4413146f52
    version 0.1 Gwenhael Le Moine 2022-02-09 16:28:07 +01:00
  • 6dae5e3eb0
    refactoring: inline parser & runner into Interpreter Gwenhael Le Moine 2022-02-09 13:38:32 +01:00
  • 3158851685
    finally pass d→r test Gwenhael Le Moine 2022-02-09 10:58:13 +01:00
  • 36283d6d4b
    generalize use of BigDecimal in :numeric's Gwenhael Le Moine 2022-02-09 10:53:00 +01:00
  • 8c5657db42
    big refactoring Gwenhael Le Moine 2022-02-08 15:45:36 +01:00
  • 217a4e98ee
    todo Gwenhael Le Moine 2022-02-02 16:54:25 +01:00
  • 96868a742f
    add BigDecimal todo Gwenhael Le Moine 2022-02-02 16:42:19 +01:00
  • a512979e91
    simplify D→R and R→D, fix R→D test Gwenhael Le Moine 2022-02-02 16:29:23 +01:00
  • 77946e56f7
    fix ACOS and pass some tests (still fragile) Gwenhael Le Moine 2022-02-02 16:15:44 +01:00
  • 0c0bd2ea9f
    more cleaning of botched merge Gwenhael Le Moine 2022-02-02 16:15:04 +01:00
  • 9619dba3cf
    clean kludge from a merge Gwenhael Le Moine 2022-02-02 15:48:21 +01:00
  • a8dec5f2a4
    implement LSTO Gwenhael Le Moine 2022-02-02 15:20:24 +01:00
  • e96c3f94de
    usr %w[] Gwenhael Le Moine 2022-02-02 15:19:14 +01:00
  • 6907e8b9dc
    don't store surrounding '' "" «» in value, eliminate [1..-2] in value use Gwenhael Le Moine 2022-01-26 18:30:51 +01:00
  • 2cd462e2de
    Merge branch 'trunk' of ssh://src.le-moine.org:38172/gwh/rpl.rb into trunk Gwenhael Le Moine 2022-01-26 16:15:26 +01:00
  • 88653b7bc1
    TODO Gwenhael Le Moine 2022-01-26 16:15:20 +01:00
  • 212ef879f3
    fix TODO Gwenhael Le Moine 2022-01-26 16:15:12 +01:00
  • 7a97361514
    rpl code formatting Gwenhael Le Moine 2022-01-20 11:56:38 +01:00
  • f8c36f9e41
    pi → 𝛑 Gwenhael Le Moine 2022-01-20 10:55:13 +01:00
  • 0e7fbcc341
    source and string formatting Gwenhael Le Moine 2022-01-18 22:30:16 +01:00
  • de89407e41
    allow leading and closing empty lines and spaces before delimiters in string and programs Gwenhael Le Moine 2022-01-18 22:29:29 +01:00
  • 3e53cb9715
    Merge branch 'trunk' of ssh://src.le-moine.org:38172/gwh/rpl.rb into trunk Gwenhael Le Moine 2022-01-18 17:11:38 +01:00
  • 8bd4055f90
    implement trig operations Gwenhael Le Moine 2022-01-18 17:07:25 +01:00
  • 442e1cc34e
    infer numeric result's base from operand(s) Gwenhael Le Moine 2022-01-18 17:06:43 +01:00
  • 43b79a2927
    add TODO-list to README Gwenhael Le Moine 2022-01-18 17:06:13 +01:00
  • f1a2947e8e
    review/rationalize ADD Gwenhael Le Moine 2021-12-16 16:34:59 +01:00
  • b54f68d716
    alias semantic Gwenhael Le Moine 2021-12-16 15:22:55 +01:00
  • 02db2cc6bf
    DUP by copy instead of reference Gwenhael Le Moine 2021-12-16 15:22:33 +01:00
  • 3a0d7217b3
    add __ppstack for debugging Gwenhael Le Moine 2021-12-16 15:22:14 +01:00
  • 3401f98eb9
    implement →LIST and LIST→; display lists, REV and + lists Gwenhael Le Moine 2021-12-16 15:21:23 +01:00
  • f27f485c8c
    implement FWRITE, test FEVAL too Gwenhael Le Moine 2021-12-16 11:02:42 +01:00
  • 2c9203f079
    implement FEVAL & FWRITE (wip) Gwenhael Le Moine 2021-12-15 16:36:11 +01:00
  • 5dc798f830
    remove \n before eval Gwenhael Le Moine 2021-12-15 16:35:23 +01:00
  • 90415fc07e
    properly enclose strings in "" Gwenhael Le Moine 2021-12-15 16:34:57 +01:00
  • f234dffa59
    add FREAD Gwenhael Le Moine 2021-12-15 13:33:52 +01:00
  • 080bac161f
    logic Gwenhael Le Moine 2021-12-15 13:33:40 +01:00
  • 59c40c5bf9
    Rpl::Core ⇒ Rpl::Lang::Core Gwenhael Le Moine 2021-12-15 13:33:06 +01:00
  • 68c8a4e178
    add string REV & SPLIT Gwenhael Le Moine 2021-12-15 13:32:48 +01:00
  • a341cdf570
    move loadgin core words in Language Gwenhael Le Moine 2021-12-15 13:32:21 +01:00