Skip to content

TinyAPL 0.4.1.0

Compare
Choose a tag to compare
@RubenVerg RubenVerg released this 30 May 15:43
· 386 commits to main since this release
  • Add quad names: ⎕io, ⎕ct, ⎕u, ⎕l, ⎕d, ⎕Exists, ⎕Repr
  • Add affine character arithmetic: num+char, char+num, char-num, char-char
  • BREAKING: Remove Set Phase, Set Real Part, Set Imaginary Part
  • BREAKING: Remove Scan Down and Scan Up
  • BREAKING: Rename Reduce Down to Reduce and Reduce Up to Reduce Back
  • Add On Prefixes and On Suffixes
  • Add Key
  • Add Index
  • Add From
Supported primitives:
  ⍬
  + - × ÷ * ⍟ ○ √ ⌊ ⌈ ⸠ < ≤ = ≥ > ≠ ∧ ∨ ⍲ ⍱ ⊕ ⊗ ≡ ≢ ⍴ , ⊖ ⍮ ⊂ ⊃ ⊇ ↑ ↓ ⊣ ⊢ ⍳ ⍸ ⌿ | ∡ ℜ ℑ ∪ ∩ ~ § ∊ ⌷
  ⍨ ⍆ ⍅ ↟ ↡ ¨ ᐵ ᑈ ⌸
  ⍤ ⍥ ∘ ⍛ ⊸ ⟜
Supported quad names:
  ⎕io ⎕ct ⎕u ⎕l ⎕d
  ⎕Exists ⎕Repr
  
  
Supported features:
* dfns {code}, d-monadic-ops _{code}, d-dyadic-ops _{code}_
  ⍺ left argument, ⍵ right argument,
  ⍺⍺ left array operand, ⍶⍶ left function operand, ⍵⍵ right array operand, ⍹⍹ right function operand,
  ∇ recurse function, _∇ recurse monadic op, _∇_ recurse dyadic op
  ■ early exit, : guard
  ⋄ multiple statements
* numbers: . decimal separator, ¯ negative sign, ⏨ exponent notation, ᴊ complex separator
* character literals: 'abc'
* string literals: "abc" with escapes using ⍘
* names: abc array, Abc function, _Abc monadic op, _Abc_ dyadic op, assignment with ←
* get ⎕ read evaluated input, get ⍞ read string input, set ⎕ print with newline, set ⍞ print without newline
* array notation: ⟨⋄⟩ vector, [⋄] higher rank array (combine major cells)
* comments: ⟃⟄ inline