Commit Graph
4 Commits
Author SHA1 Message Date
WJKMandRubén Rincón Blanco bb33f8fc18 jakt: Fix signature of default example's main (#5507)
In a precious version of the language, functions were defined with the
`function` keyword. They are now defined with `fn`.

Currently, the default example doen't compile.

<!-- THIS COMMENT IS INVISIBLE IN THE FINAL PR, BUT FEEL FREE TO REMOVE
IT
Thanks for taking the time to improve CE. We really appreciate it.
Before opening the PR, please make sure that the tests & linter pass
their checks,
  by running `make check`.
In the best case scenario, you are also adding tests to back up your
changes,
  but don't sweat it if you don't. We can discuss them at a later date.
Feel free to append your name to the CONTRIBUTORS.md file
Thanks again, we really appreciate this!
-->

---------

Co-authored-by: Rubén Rincón Blanco <git@rinconblanco.es>
2023-09-22 13:18:00 +02:00
Andrew Kaster 3fc61711ee jakt: Fix signature of default example's main (#4522)
And make sure to cast the i32 to a c_int from the example function.
2023-01-02 16:56:07 -06:00
partouf 51244769e1 add hellow 2022-07-09 17:04:47 +02:00
TrMen ed4c5814ae Add the jakt programming language (#3845) 2022-07-09 17:03:23 +02:00