1
0
Fork 0
forked from fun/fun
Commit graph

100 commits

Author SHA1 Message Date
71682293fe Added SHA-1 class to Fun's standard libs. (0.16.1) 2025-10-01 02:06:26 +02:00
a56a351da6 Added class inheritance and constructors. (0.16.0) 2025-10-01 01:16:52 +02:00
299771f091 Added basic threading support, changed license back to Apache-2.0 and many fixes. (0.15.0) 2025-09-30 22:52:12 +02:00
6bd13f6e96 Added namespaces to includes like in Python. (0.14.0) 2025-09-30 21:03:36 +02:00
c56a130896 Bastic value type casting. (0.12.0) 2025-09-29 03:26:35 +02:00
12a5646d56 Added some crypto 100% implemented in Fun. (0.11.0) 2025-09-29 02:36:57 +02:00
5d3cfd9f65 Classes are a real type class now and some fixes. (0.10.0) 2025-09-28 23:56:45 +02:00
2a1b74f13f Added byte as a new datatype. (0.9.3) 2025-09-28 23:10:49 +02:00
a1a5d9fd6a Some more type safety. (0.8.0) 2025-09-28 15:24:09 +02:00
464f54626f Windows CRLF fix in the parser. 2025-09-27 23:02:13 +02:00
5b7b063086 Added basic local includes relative to $PWD and includes for files located at /usr/lib/fun. 2025-09-27 17:39:03 +02:00
4345fc6f0c Added new opcode OP_ENV to provide an env() function to get environment variables from your OS. 2025-09-27 10:06:04 +02:00
34dbad1653 Some fixes to make it compile on FreeBSD. 2025-09-26 09:20:12 +02:00
2e8bd52b01 Added private methods and some more type fixes. 2025-09-26 09:13:32 +02:00
30de0d396e Some class fixes 2025-09-26 08:06:30 +02:00
c7c4b467d5 Some more class sugar... 2025-09-26 07:53:12 +02:00
25fe9ad610 Added basic class support. 2025-09-26 07:39:13 +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
d21378c869 Strict syntax checking! 2025-09-16 07:09:31 +02:00
228615db18 Some more opcode refactoring. (0.3.1) 2025-09-16 04:51:49 +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
0e7fffcfe0 ufff 2025-09-15 08:39:41 +02:00
c8b8dd820e Basic objects. 2025-09-15 07:52:03 +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
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
56289e87a2 Some REPL enhancements like a history, better error messages and some Makefile enhancements. 2025-09-14 22:35:23 +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
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
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
5272148946 Added shebang/comments, types, identifiers etc. and added history/ for the future... 2025-09-14 00:28:08 +02:00
7d587fe11b Initial parser implementation that runs a simple hello_world.fun script. 2025-09-13 23:50:01 +02:00
6a7add3e56 Initial code commit. 2025-09-13 05:09:20 +02:00