diff options
author | Manuel Palenzuela Merino <manuel.palenzuela@datadoghq.com> | 2025-01-16 22:10:36 +0100 |
---|---|---|
committer | Manuel Palenzuela Merino <manuel.palenzuela@datadoghq.com> | 2025-01-16 22:10:36 +0100 |
commit | aee5b54b09b72d7478b875ddf77bafb264b1427f (patch) | |
tree | 3f89006b69ef3732cb4d969a03e481666c8e0e61 /examples/0.src | |
parent | Evaluator: Start working on new function-capable evaluator (diff) | |
download | interpreter-aee5b54b09b72d7478b875ddf77bafb264b1427f.tar.gz interpreter-aee5b54b09b72d7478b875ddf77bafb264b1427f.tar.bz2 interpreter-aee5b54b09b72d7478b875ddf77bafb264b1427f.zip |
Get function calls kind of working :)
Diffstat (limited to 'examples/0.src')
-rw-r--r-- | examples/0.src | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/0.src b/examples/0.src index b87aa0c..8b21f41 100644 --- a/examples/0.src +++ b/examples/0.src @@ -1 +1,5 @@ -print(2); +let main = () => { + print(2); + + return 1; +}; |