Compare commits

...

1 Commits

Author SHA1 Message Date
d600fc7232 Moving nex out. 2026-02-22 17:51:11 +00:00

28
nex.nel
View File

@@ -1,28 +0,0 @@
// NEX 4
here 'nex language' is [do {
here 'language' is [create new language]
return 'language'
}]
here (nex (expressions)) means [
do (expressions) in 'nex language'
]
(interpret 'input') means {
here: 'previous character' is [nothing]
iterate over [pattern match all "." in 'input' as {'this character'}] {
if ['previous character' is something] {
}
now: 'previous character' is 'this character';
}
}
loop (until 'termination') {
choose from [read console] as 'input' {
('input' matches "end") does { now: termination };
everything else does { interpret 'input' };
}
}