Klong: Difference between revisions

Jump to navigation Jump to search
46 bytes added ,  21:41, 8 June 2021
→‎Primitives: Fix some links
m (Text replacement - "{{APL dialects}}" to "{{APL dialects}}Category:K dialects")
(→‎Primitives: Fix some links)
(2 intermediate revisions by 2 users not shown)
Line 17: Line 17:
| influenced by            = [[K]], [[wikipedia:Lisp (programming language)|Lisp]]
| influenced by            = [[K]], [[wikipedia:Lisp (programming language)|Lisp]]
}}
}}
'''Klong''' is a language based on [[K]] (probably K3) which removes K's syntactic ambiguity and much of its overloading by using more digraphs ([[primitive]]s composed of two characters) to separate extra meanings. The removal of syntactic ambiguity means Klong has a [[wikipedia:context-free grammar|context-free grammar]].
'''Klong''' is a language based on [[K]] (probably K3) which removes K's syntactic ambiguity and much of its overloading by using more digraphs ([[primitive function]]s and [[primitive operator|operators]] composed of two characters) to separate extra meanings. The removal of syntactic ambiguity means Klong has a [[wikipedia:context-free grammar|context-free grammar]].


== Primitives ==
== Primitives ==
Line 56: Line 56:
| <code>~</code>  || [[Not]]                || [[Match]]
| <code>~</code>  || [[Not]]                || [[Match]]
|-
|-
| <code>@</code>  || [[Atom]]                || [[Index function|Index]]/Apply
| <code>@</code>  || Atom                   || [[Index function|Index]]/Apply
|-
|-
| <code>:@</code> ||                        || Index-in-Depth
| <code>:@</code> ||                        || Index-in-Depth
|-
|-
| <code>?</code>  || [[Range]]               || [[Find]]
| <code>?</code>  || Range ([[Unique]])      || [[Find]]
|-
|-
| <code>,</code>  || List (like [[Enclose]]) || Join (like [[Catenate]])
| <code>,</code>  || List (like [[Enclose]]) || Join (like [[Catenate]])

Navigation menu