K/simple: Difference between revisions
m (typo on verb table) |
m (| instead of |) |
||
(One intermediate revision by the same user not shown) | |||
Line 16:
'''k/simple''' is "a tiny interpreter of a toy vector language, implemented in about 25 lines of c with a small header file"<ref>https://github.com/kparc/ksimple/blob/main/README.md</ref>, written by [[Arthur Whitney]].
k/simple is meant to "demonstrate the fundamentals of the design, organization and style"<ref>https://github.com/kparc/ksimple/blob/main/README.md</ref> employed by Arthur Whitney
== Types==
Line 47:
| <code>*</code>|| nyi|| [[multiply]]
|-
| <code>
|-
| <code>&</code>|| nyi || logical and
|
Latest revision as of 01:19, 17 June 2024
Developer | Arthur Whitney |
---|---|
Released | 2024 |
| |
Dialect | N/A |
| |
Implemented in | C |
Platforms | x86_64 |
Operating Systems | Linux |
License | MIT |
| |
Website | GitHub |
Documentation | [1] |
k/simple is "a tiny interpreter of a toy vector language, implemented in about 25 lines of c with a small header file"[1], written by Arthur Whitney.
k/simple is meant to "demonstrate the fundamentals of the design, organization and style"[2] employed by Arthur Whitney.
Types Edit
atom | signed 8-bit integer |
vector | ordered list of atom(s) |
Verbs Edit
monadic | dyadic | |
---|---|---|
+ |
nyi | add |
- |
negate | subtract |
! |
til | mod |
# |
count | take |
, |
enlist | concatenate |
@ |
first | at |
* |
nyi | multiply |
| |
reverse | logical or |
& |
nyi | logical and |
= |
nyi | equal to (==) |
~ |
nyi | not equal to (!=) |
adverbs Edit
/ |
over |
\ |
scan |