riju/langs/factor.yaml

29 lines
300 B
YAML

id: "factor"
aliases:
- "fact"
name: "Factor"
repl: |
factor-lang
input: |
123 234 *
main: ".factor-rc"
template: |
IN: main
USE: io
"Hello, world!" print
createEmpty: ""
run: |
factor-lang
scope:
code: |
USE: math
: x ( -- x ) 123 234 * ;
input: |
USE: main
x