diff options
author | Manuel Palenzuela Merino <manuel.palenzuela@datadoghq.com> | 2025-01-16 22:35:47 +0100 |
---|---|---|
committer | Manuel Palenzuela Merino <manuel.palenzuela@datadoghq.com> | 2025-01-16 22:35:47 +0100 |
commit | e4a16a164fee507289c8239919e82c11dbeb1a81 (patch) | |
tree | 4c061884073f4ac506aeff4013637d5ac5dd4bf6 | |
parent | Tokenizer: Add support for comments (diff) | |
download | interpreter-e4a16a164fee507289c8239919e82c11dbeb1a81.tar.gz interpreter-e4a16a164fee507289c8239919e82c11dbeb1a81.tar.bz2 interpreter-e4a16a164fee507289c8239919e82c11dbeb1a81.zip |
Examples: new example
-rw-r--r-- | examples/5.src | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/5.src b/examples/5.src new file mode 100644 index 0000000..ad96168 --- /dev/null +++ b/examples/5.src @@ -0,0 +1,9 @@ +let print_input = (input) => { + print(input); + return input; +}; + + +let main = () => { + return print_input(7); +}; |