Skip to content

Instantly share code, notes, and snippets.

@StoneCypher
Created July 21, 2014 02:14
Show Gist options
  • Select an option

  • Save StoneCypher/f2adbd4fd448e47d3d15 to your computer and use it in GitHub Desktop.

Select an option

Save StoneCypher/f2adbd4fd448e47d3d15 to your computer and use it in GitHub Desktop.
APL highlighter test case
⍝ You can try this at http://tryapl.org/
⍝ I can not explain how much I suddenly love this crypto-language
+-÷×!?*⌈|⌊⊥⊤⍟○⌹{}
()⍴¨⍨⍣,⍪⌽⊖⍉
⍺ ⍺⍺ ⍵ ⍵⍵
⍬ ⎕FMT
10 -20 ¯20 0 0.0 ¯123.45
Starts ← 'Experiential truth ' 'The physical world ' 'Non-judgment ' 'Quantum physics '
Middles ← 'nurtures an ' 'projects onto ' 'imparts reality to ' 'constructs with '
Qualifiers ← 'abundance of ' 'the barrier of ' 'self-righteous ' 'potential '
Finishes ← 'marvel.' 'choices.' 'creativity.' 'actions.'
rf ← {(?⍴⍵) ⊃⍵}
erf ← {rf ¨ ⍵}
deepak ← {erf Starts Middles Qualifiers Finishes}
deepak ⍬
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment