A minimalistic programming language written in C89.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
345 B

4 months ago
4 months ago
  1. fn potato do
  2. sys.trace return
  3. end
  4. fn print_n_utf8_impl do
  5. start:
  6. -1 + swap print_utf8
  7. dup start swap jump_if
  8. end
  9. fn potato2 do
  10. start:
  11. -1 + dup
  12. 65 print_utf8 10 print_utf8
  13. start swap jump_if
  14. end
  15. fn potato3 do
  16. start:
  17. -1 + dup
  18. 66 print_utf8 10 print_utf8
  19. start swap jump_if
  20. end