Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Currently supports:
* Python
* Ruby
* F#
* newLISP

You only have to add a few lines in a PR to support another.

Expand Down
3 changes: 3 additions & 0 deletions examples/the-day-so-far.lsp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/newlisp

(format "the day is %2.0f%% done" (div (time-of-day) (* 24 60 60 10)))
5 changes: 5 additions & 0 deletions lib/grammars.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,8 @@ module.exports =
'F#':
command: "fsharpi"
"File Based": (filename) -> ['--exec', filename]

newLISP:
command: "newlisp"
"Selection Based": (code) -> ['-e', code]
"File Based": (filename) -> [filename]