1
0
Fork 0
forked from fun/fun
Commit graph

86 commits

Author SHA1 Message Date
5d2c6e89aa Some cosmetic fixes... 2025-09-26 07:42:40 +02:00
25fe9ad610 Added basic class support. 2025-09-26 07:39:13 +02:00
228c2a7a5b Some play fun updates. 2025-09-20 08:36:26 +02:00
2d7f553909 Some play fun updates. 2025-09-20 08:24:28 +02:00
151b3fa935 Some play fun updates. 2025-09-19 20:54:17 +02:00
31b70d4646 Just playing and having fun... 2025-09-19 10:39:42 +02:00
1058cefc7a Just playing and having fun... 2025-09-19 10:32:24 +02:00
6cf1afcde6 Just playing and having fun... 2025-09-19 09:15:35 +02:00
84ef262588 Added some documentation to some ./examples/*.fun scripts. 2025-09-18 02:39:07 +02:00
aaa2094b47 README update. 2025-09-17 18:05:38 +02:00
34eda37f25 README update. 2025-09-17 18:04:35 +02:00
74f01c2a41 README update. 2025-09-17 16:04:16 +02:00
53354d3db9 Comment fix because of setting FUN_DEBUG=OFF. 2025-09-17 13:12:50 +02:00
2a189c83d5 Disabled FUN_DEBUG for now. Fun just works... ;) 2025-09-17 13:07:33 +02:00
2b043fbad0 Some typo fixes reported by Clang. This is tested on Linux (Alpine and Artix) and FreeBSD. 2025-09-17 13:02:00 +02:00
57719279c7 Changed number from Uint64 to Sint64. 2025-09-17 10:03:40 +02:00
0ceebfbdad Added S as a prefix to signed integers to make more consistent. E.g.: sint8 instead of int8. 2025-09-16 12:59:44 +02:00
3f5fabae92 Signed Integers. 2025-09-16 12:38:47 +02:00
6d3456b62c Integer/Number and uint(8,16,32,64bit) fun... ;) 2025-09-16 12:29:28 +02:00
c641599366 Some variable refactoring in vm.h and cleanups. 2025-09-16 11:59:48 +02:00
6b14c2776e Added line numbers to debug and error output. 2025-09-16 11:23:42 +02:00
1958850d87 Housekeeping in ./examples/. 2025-09-16 09:06:44 +02:00
24f5f7517c More examples documentation and just small fixes. 2025-09-16 07:45:19 +02:00
d21378c869 Strict syntax checking! 2025-09-16 07:09:31 +02:00
5898668237 Just a quoting test... ;) 2025-09-16 06:39:01 +02:00
e61c68c277 Some housekeeping and refactoring. 2025-09-16 05:39:43 +02:00
cfdeb4a22f Just removed some chaos in the VM. 2025-09-16 05:16:27 +02:00
228615db18 Some more opcode refactoring. (0.3.1) 2025-09-16 04:51:49 +02:00
f0f93689c3 .gitignore update. 2025-09-16 04:13:32 +02:00
4686e38907 Fixed implementation error, that disallowed function definitions at the begiinng of .fun files. 2025-09-16 03:49:28 +02:00
7e9f24114e Added typeof opcode to verify variable types. 2025-09-16 03:45:25 +02:00
d7843274ee Added tons of opcode documentation, changed license to ISC and a lot of file refactoring. 2025-09-16 02:11:22 +02:00
50a91d0b6f Refactored all OP_ functions to vm/CATEGORY/ and renamed the files. 2025-09-15 23:26:42 +02:00
108be8c41e Some more refactoring. 2025-09-15 09:01:46 +02:00
0e7fffcfe0 ufff 2025-09-15 08:39:41 +02:00
c8b8dd820e Basic objects. 2025-09-15 07:52:03 +02:00
031d23bcc3 Some housekeeping. 2025-09-15 06:50:54 +02:00
13919ad87d Tons of refactoring and some fixes and enhancements... ;) 2025-09-15 06:31:32 +02:00
d1bbd2e501 Built-ins: Maps and more... ;) 2025-09-15 04:41:11 +02:00
a4f4fcba99 More built-ins. 2025-09-15 03:59:03 +02:00
559400a866 Added to_string() and to_number() functions as built-ins. 2025-09-15 03:45:26 +02:00
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