diff options
| author | Baitinq <[email protected]> | 2025-01-16 22:35:47 +0100 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2025-01-16 22:35:47 +0100 |
| commit | d71bf4c19b2f31f5212d6289ec906bc0bef79864 (patch) | |
| tree | 4c061884073f4ac506aeff4013637d5ac5dd4bf6 /examples | |
| parent | Tokenizer: Add support for comments (diff) | |
| download | pry-lang-d71bf4c19b2f31f5212d6289ec906bc0bef79864.tar.gz pry-lang-d71bf4c19b2f31f5212d6289ec906bc0bef79864.tar.bz2 pry-lang-d71bf4c19b2f31f5212d6289ec906bc0bef79864.zip | |
Examples: new example
Diffstat (limited to 'examples')
| -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); +}; |