1
0
Fork 0
forked from fun/fun
Commit graph

495 commits

Author SHA1 Message Date
d67c541824 Added nested loop example and some more comment in other examples. 2025-09-15 03:34:49 +02:00
0b48aa3e0c Loops, break and continue. 2025-09-15 03:21:57 +02:00
879801cbfc Array iteration. 2025-09-15 03:03:00 +02:00
66191b1642 More advanced array functionality. 2025-09-15 01:53:41 +02:00
af16311ed5 Added simple arrays. 2025-09-15 01:36:20 +02:00
0b6cab8672 Added version header to REPL. 2025-09-15 01:24:02 +02:00
f31bf270bd REPL: Smarter multiline prompting by detecting open blocks via indentation, and when FUN_DEBUG is ON, append parse errors as comments to the history file. 2025-09-15 01:21:50 +02:00
08e7c9a623 More REPL enhancements. Type :help in the REPL to get more information. 2025-09-15 01:13:13 +02:00
0704640893 Some REPLK enhancements. Type :help in the REPL to get more information. 2025-09-15 01:02:19 +02:00
56289e87a2 Some REPL enhancements like a history, better error messages and some Makefile enhancements. 2025-09-14 22:35:23 +02:00
b69c8305f6 Added --help/-h and --version/-V. So, this is version 0.2.0 of Fun! :) 2025-09-14 21:59:26 +02:00
dbd8b73134 Added install routine to CMake and added a classic Makefile as a wrapper for easy building. 2025-09-14 21:29:05 +02:00
05818899fe Short circiut (||, &&) 2025-09-14 21:10:52 +02:00
3a2afdea69 Added a simple REPL. 2025-09-14 18:42:23 +02:00
238a9a3bbe For range() loops. 2025-09-14 17:06:42 +02:00
ef77378ab4 String concatination. 2025-09-14 15:58:50 +02:00
01fa5dfdb7 Added -DFUN_DEBUG=ON flag as cmake option to enable debug messages. Default is -DFUN_DEBUG=off. 2025-09-14 15:48:28 +02:00
24305209eb While loops. 2025-09-14 15:40:09 +02:00
2a46797f93 Some function related fixes and some cleanups... 2025-09-14 15:20:23 +02:00
0a49a463e2 Functions. 2025-09-14 15:12:30 +02:00
3f21434cd1 else and else-if support. 2025-09-14 03:42:11 +02:00
7c735cfdac More expression implementations. 2025-09-14 03:22:22 +02:00
7f3264d445 Arggh... :) 2025-09-14 01:13:43 +02:00
7dc9fca170 Removed .aiignore since it is a local only config file. 2025-09-14 01:12:51 +02:00
2f95b49bba ROFL, in all examples where a function definition in the code, fun does not support functions actualy... :D 2025-09-14 01:04:38 +02:00
5272148946 Added shebang/comments, types, identifiers etc. and added history/ for the future... 2025-09-14 00:28:08 +02:00
402b035b49 Removed Makefile as I use CMake now. 2025-09-13 23:52:57 +02:00
7d587fe11b Initial parser implementation that runs a simple hello_world.fun script. 2025-09-13 23:50:01 +02:00
284b4d3fa9 Major refactoring commit. Switched from Make tu CMake. 2025-09-13 22:55:17 +02:00
20ac64c604 .gitignore fix. 2025-09-13 05:20:44 +02:00
13242d57b6 Some Makefile fixes and .gitignore update. 2025-09-13 05:16:32 +02:00
6a7add3e56 Initial code commit. 2025-09-13 05:09:20 +02:00
7aa60fe930 Some update in the v0.2 spec. 2025-09-12 04:59:44 +02:00
96c68b0d27 Some update in the v0.2 spec. 2025-09-12 04:40:44 +02:00
7431e58dfc Some update in the v0.2 spec. 2025-09-12 03:25:51 +02:00
fe6be681f0 Some update in the v0.2 spec. 2025-09-12 03:20:46 +02:00
fe39504684 Added first draft of spec/v0.2.md 2025-09-12 02:27:41 +02:00
187e90b91b Some update in the v0.1 spec. 2025-09-12 00:17:19 +02:00
39a48d5ddf Some update in the v0.1 spec. 2025-09-12 00:01:25 +02:00
be5fa017ba Some fixes in the spec. 2025-09-11 23:32:34 +02:00
70fc762c4d Some fixes in the spec. 2025-09-11 23:31:44 +02:00
436d3ba048 Added spec version 0.1. 2025-09-11 23:24:17 +02:00
27e96c1600 A small update. 2025-09-11 22:21:14 +02:00
9e79438e04 WTF? 2025-09-11 02:11:35 +02:00
f45975f523 Initial commit. 2025-09-11 02:07:59 +02:00