Add interpreters for APL and J (#3029)

* Add APL interpreters

* Add J interpreter

* Add test fixtures for APL/J interpreters
This commit is contained in:
John Gardner
2016-06-02 02:41:22 +10:00
committed by Arfon Smith
parent 4eb33fe3be
commit 897218678e
3 changed files with 16 additions and 0 deletions

View File

@@ -75,6 +75,10 @@ APL:
extensions:
- .apl
- .dyalog
interpreters:
- apl
- aplx
- dyalog
tm_scope: source.apl
ace_mode: text
@@ -1666,6 +1670,8 @@ J:
color: "#9EEDFF"
extensions:
- .ijs
interpreters:
- jconsole
tm_scope: source.j
ace_mode: text

7
samples/APL/hashbang Executable file
View File

@@ -0,0 +1,7 @@
#!/usr/local/bin/apl --script
NEWLINE ← ⎕UCS 10
HEADERS ← 'Content-Type: text/plain', NEWLINE
HEADERS
⍝ ⎕←HEADERS
⍝ ⍕⎕TS
)OFF

3
samples/J/hashbang Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/jconsole
echo 'Hello, GitHub!'
exit ''