1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-09 04:52:28 +00:00

Add -e option to dst for executing inline scripts from the shell.

This commit is contained in:
bakpakin
2018-05-05 14:05:56 -04:00
parent 6b5c5ab0ad
commit d9e5019a71
3 changed files with 44 additions and 25 deletions

View File

@@ -14,11 +14,11 @@
# Test it
# Maximum path is 3 -> 10 -> 3 -> 9 for a total of 25
(def triangle @[
@[3]
@[7 10]
@[4 3 7]
@[8 9 1 3]
(def triangle '[
[3]
[7 10]
[4 3 7]
[8 9 1 3]
])
(print (maxpath triangle))