Email or username:

Password:

Forgot your password?
Devine Lu Linvega

In "The Road Towards A Minimal Forth Architecture"(1990), Mikael Patel builds toward a forth from only a handful of arithmetic and stack primitives. Here is an implementation of some of these primitives in Uxntal macros:
wiki.xxiivv.com/site/forth#min
Leah's blog post: leahneukirchen.org/blog/archiv
Patel's paper: github.com/larsbrinkhoff/forth

1 comment
max22-

@neauoire i see he uses bruteforce to find his little programs : maybe you have already heard of relational programming, with this you can synthesize programs, run them backwards (you give the output, it gives the input), make a quine generator (you have write a uxn interpreter in a relational language, then you query for a program that evaluates to itself). There is a very nice paper about microkanren ( webyrd.net/scheme-2013/papers/ ), a (minimal) relational language you can implement yourself.

@neauoire i see he uses bruteforce to find his little programs : maybe you have already heard of relational programming, with this you can synthesize programs, run them backwards (you give the output, it gives the input), make a quine generator (you have write a uxn interpreter in a relational language, then you query for a program that evaluates to itself). There is a very nice paper about microkanren ( webyrd.net/scheme-2013/papers/ ), a (minimal) relational language...

Go Up