8 Commits

Author SHA1 Message Date
3892ea46e0 Update examples 2022-02-11 01:19:45 +01:00
f2331d7de9 Add general test for functions as example 2022-02-10 12:19:01 +01:00
aeedfb4ef2 Implement functions
- Implement function declaration and call
- Change the precalculated variable stack positions to contain the
  offset from the end instead of the absolute position. This is
  important for passing fun args on the stack
- Add the ability to offset the stackframes. This is used to delete the
  stack where the fun args have been stored before the block executes
- Implement exit type for blocks in interpreter. This is used to get the
  return values and propagate them where needed
- Add recursive fibonacci examples
2022-02-10 01:26:11 +01:00
421fbbc873 Update euler5 example 2022-02-09 17:12:47 +01:00
e7b67d85a9 Add game of life example 2022-02-05 11:53:01 +01:00
56665af233 Update examples 2022-02-04 14:25:25 +01:00
c2b9ee71b8 Add project euler example 5 2022-02-03 16:16:38 +01:00
86130984e2 Add example programs (project euler) 2022-02-02 16:26:37 +01:00