1
0
mirror of https://github.com/urlysses/1991.git synced 2024-11-15 17:18:04 -05:00
1991/examples/app.fs

14 lines
203 B
Forth
Raw Normal View History

2017-02-15 12:23:28 -05:00
\ App demo:
include ../1991.fs
2017-02-15 12:23:28 -05:00
sourcedir s" public" s+ set-public-path
sourcedir s" views" s+ set-view-path
2017-02-15 12:23:28 -05:00
: handle-/ s" fff" ;
: handle-hi s" hi!" ;
/1991 / handle-/
/1991 /hi handle-hi
8080 1991: