genby
lang
v1.0.0
$
npm i genby
copy
//
embeddable TS mini-DSL for custom APIs
open
source ,
mit
license , dependency
free
01
config
language config
declare functions, variables, enums, and directives on a
Genby
instance.
IF_THEN_ELSE
is a built-in special form. return the instance at the end.
config
.js
try it
>
make genby !
idle
02
docs
generated docs
a full markdown reference is produced from your language config via
machine.docs()
.
reference
.md
generated
build the language first
03
program
genby program
write a program in the language you just declared. syntax highlighting and completions come from
machine.inputDom()
.
program
.genby
waiting
build the language first
04
run
run
executes the program against your configured handlers. the return value is rendered below.
>
run
idle
result
.txt
—
no output yet