Klong: Difference between revisions

Jump to navigation Jump to search
302 bytes added ,  00:28, 20 April 2023
Add KlongPy section
(→‎Primitives: Fix some links)
(Add KlongPy section)
Line 18: Line 18:
}}
}}
'''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]].
'''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]].
== KlongPy ==
[https://github.com/briangu/klongpy KlongPy] is an independent, compatible implementation of Klong in [[wikipedia:NumPy|NumPy]]. It can be closely integrated with Python due to its use of NumPy arrays, and can be run on the GPU using [[wikipedia:CuPy|CuPy]] in place of standard NumPy.


== Primitives ==
== Primitives ==

Navigation menu