Commit graph

  • 0ab370b8e4
    Allow else-if statements Neemek 2025-01-03 21:16:19 +01:00
  • 2c548c83aa
    Update go.sum Neemek 2024-12-29 21:07:50 +01:00
  • 4b803100ef
    Fix resuming scope after returning from a called function Neemek 2024-12-29 21:07:44 +01:00
  • ce72ea6c47
    Fix parsing multiple arguments Neemek 2024-12-29 21:07:23 +01:00
  • 0e914e197b
    Add exponentiation and logarithms to the math lib/example Neemek 2024-12-29 21:06:02 +01:00
  • cedad9d472
    Allow for functions to be called after a variable is pushed to the stack Neemek 2024-12-29 18:23:10 +01:00
  • cf8268a4d7
    Add pi approximation as an example Neemek 2024-12-29 14:51:54 +01:00
  • 6b90cc488e
    Make parser send error upwards instead of panicing Neemek 2024-12-29 14:49:31 +01:00
  • 402644d219
    Treat source as runes to allow for unicode characters (e.g. greek, japanese) Neemek 2024-12-28 17:16:56 +01:00
  • 74bf43d387
    Create tokens from runes to allow unicode characters (e.g. greek, chinese) Neemek 2024-12-28 17:04:30 +01:00
  • e1f438edbe
    Fix parser formatting missing newline Neemek 2024-12-28 17:03:59 +01:00
  • f7f987f5b5
    Add WASM-target and a html demo page Neemek 2024-12-13 11:35:38 +01:00
  • 61686b8b43
    Add cli go.sum Neemek 2024-12-13 11:34:27 +01:00
  • 62656c6dff
    separate core from cli into submodules, add support for boolean and and or operations, make more fields public, fix passing arguments to functions Neemek 2024-12-13 11:33:47 +01:00
  • 7498c85424
    add recursive calculation of a fibonacci number Neemek 2024-10-09 15:55:03 +02:00
  • 0473050229
    add while loop calculation of a fibonacci number Neemek 2024-10-09 15:54:51 +02:00
  • a4a66a3041
    begin math lib Neemek 2024-10-09 15:54:26 +02:00
  • 45b4528e73
    fix multiline comments Neemek 2024-10-09 14:50:07 +02:00
  • c103307469
    update readme Neemek 2024-10-09 14:25:43 +02:00
  • e1f2c81ab0
    fix sum_function test and add remove_func_vars test Neemek 2024-10-09 14:21:26 +02:00
  • 0d92fe235f
    add nil check in CompareValues and log before comparing value on stack Neemek 2024-10-09 09:41:20 +02:00
  • 898be71f05
    let numbers be written with decimals Neemek 2024-10-09 09:36:24 +02:00
  • 9f17543d3e
    update main file parsing error handling Neemek 2024-10-09 09:15:43 +02:00
  • 9055a09e43
    add parsing for while loops Neemek 2024-10-09 09:15:25 +02:00
  • a501393010
    add a vm_test of a function calling a function Neemek 2024-10-09 09:15:07 +02:00
  • 9b1f2b8c9a
    add support for multi-line comments Neemek 2024-10-09 09:14:42 +02:00
  • 63ed021695
    Remove temporary breakpoint instructions from vm test Neemek 2024-10-08 15:38:28 +02:00
  • 541140687f
    Initial commit Neemek 2024-10-08 15:08:56 +02:00