aboutsummaryrefslogtreecommitdiff
path: root/examples/fibonacci.cup
Commit message (Collapse)AuthorAgeFilesLines
* Fix examples to include return type on main functionMustafa Quraish2022-02-021-1/+1
| | | | With the fancy new type checking these are now required.
* Add basic builtin-function supportMustafa Quraish2022-01-311-0/+14
This isn't really super extendible for now, but it's a start and gives us the `print` builtin which allows us to finally actually print out values to the screen, so we can move away from testing with exit codes eventually.