1
0
Fork 0
forked from fun/fun
Commit graph

194 commits

Author SHA1 Message Date
303e48d37e Added more documentation to kcgi opcodes. No code changes. (0.41.10) 2026-05-10 02:07:06 +02:00
fdaed27527 Added documentation to kcgi opcodes as Doxygen compatible comments. No code changes. (0.41.10) 2026-05-10 00:01:06 +02:00
604c415c0c Added some basic CGI support using kcgi plus a lot of fixes and content updates. (0.41.9) 2026-05-09 10:47:33 +02:00
1016ebab51 Fixed bug in the PCSC extension and added more Doxygen documentation to all extensions. (0.41.8) 2026-05-07 22:23:01 +02:00
be590414af Refactored the PCRE2 extension plus adding some regex examples using this extension. (0.41.7) 2026-05-07 21:54:05 +02:00
4825007b97 Some refactoring and VM code cleanups. (0.41.6) 2026-05-07 18:39:36 +02:00
892fa3cfbf Doxygen code comment cleanups and fixes. No code changes. (0.41.5) 2026-05-01 22:19:15 +02:00
4309ec2a52 Doxygen code comment cleanups and new blog post. No code changes. (0.41.5) 2026-05-01 15:15:42 +02:00
4e69a3ce63 Added tons of AI generated docs and a lot of cleanups. No code changes. (0.41.5) 2026-05-01 02:20:25 +02:00
57dda41bf3 Only some cleanups. No code logic changes. (0.41.3) 2026-04-27 03:29:47 +02:00
be5f2b1981 Opcode cleanup. (0.41.3) 2026-04-27 03:17:31 +02:00
40999fe7db Fixed bug to make threading work again on alpine linux. (0.41.2) 2026-04-27 02:29:03 +02:00
c7438ca109 Fixed bug to make trhreading work again on alpine linux. (0.41.1) 2026-04-27 02:22:31 +02:00
43ce9f83af parser: fix variable scoping by defaulting to local scope in functions. (0.41.0)
This change addresses a critical issue where common variable names in
library functions (like 'i', 'n', 'src') were being treated as globals
by default, leading to state collisions and unexpected side effects
across different files.

Changes:
- Modified `src/parser.c` to automatically treat new variables assigned
  within a function body as locals unless they were already declared as
  globals.
- Introduced `sym_find` in the parser to distinguish between finding
  an existing global and creating a new one.
- Reverted `lib/net/cgi.fun` to use standard, short variable names,
  confirming that they no longer interfere with the caller's scope.
- Verified that explicit global updates still work if the variable was
  already defined at the top-level scope.
2026-04-27 02:06:20 +02:00
d2f673bf24 Some cleanups. Added download page to ./web/. No code changes. (0.40.5) 2026-04-19 00:38:06 +02:00
bb704a3778 Renamed ./src/external to ./src/extensions. No code logic changes. (0.40.5) 2026-04-19 00:02:36 +02:00
bebe6dfda0 Made MAX_FRAMES, MAX_FRAME_LOCALS, MAX_GLOBALS, OUTPUT_SIZE and STACK_SIZE configurable during build configuration using cmake defines (-D). No code changes. (0.40.5) 2026-04-10 22:04:27 +02:00
4365546327 Removed all tcltk support. (0.40.5) 2026-04-03 19:51:08 +02:00
74a003236d Removed all libsql support. (0.40.4) 2026-04-03 19:10:15 +02:00
45dbcde527 Removed all notcurses support. (0.40.3) 2026-04-03 19:00:53 +02:00
502c648fc9 Removed all libressl support. (0.40.2) 2026-04-03 18:55:52 +02:00
cf320199ef More nested function fun! (0.40.1) 2026-04-02 03:22:35 +02:00
be75ee47f8 Added nested functions to the Fun parser. (0.40.0) 2026-04-02 02:23:42 +02:00
3d3c11496f Fixed bug with wrong line numbers in error messages. Some examples refactoring and bug fixes. (0.39.15) 2026-03-30 20:51:04 +02:00
53ccdbda10 Fixed bug with wrong line numbers in error messages. Fixed permissions on examples. (0.39.14) 2026-03-30 19:10:29 +02:00
cb3eb0a498 Added some basic asyncio stuff. (0.39.12) 2026-03-27 00:44:40 +01:00
11d6fd358a Some CGI Fun. (unstable) (0.39.5). 2026-03-25 21:06:15 +01:00
18ac230c21 More notcurses fun. Not stable! (0.39.4) 2026-03-20 20:57:43 +01:00
69b9b87dd4 Added manpages for fun and funstx and some small code changes. (0.39.3) 2026-03-19 23:39:21 +01:00
8100f5aae1 Ufff, I forgot to add the primay code... :) (0.39.1) 2026-03-18 21:13:22 +01:00
03b2532474 Fixed the code style in *.c files to two spaces indentation and add a linter named funstx to Fun. (0.39.0) 2026-03-18 20:52:00 +01:00
33001a7ad2 Only cosmetic changes. (0.38.16) 2026-03-05 00:14:50 +01:00
3e0d47a268 Added LibreSSL as an alternative to OpenSSL. Needs more testing! (0.38.16) 2026-02-19 23:33:00 +01:00
cb5e61c091 Just cosmetic changes. (0.38.14) 2026-02-19 14:23:00 +01:00
6fa95f0d47 Added OpenSSL RIPEMD-160 fun. (0.38.14) 2026-02-19 14:19:17 +01:00
38968a9a51 More OpenSSL and documenation fun. No more words to say. (0.38.13) 2026-02-19 14:05:14 +01:00
53698478d9 Added OpenSSL as an extension, but just implemented MD5. (0.38.12) 2026-02-19 12:33:33 +01:00
bc5c699a6a Some style fixes. (0.38.6) 2026-02-01 00:39:13 +01:00
d79815e366 What is CPP? Holy shit... (0.38.4) 2026-01-29 05:09:15 +01:00
d39ef1a58e Some more Rusty Fun... :) (0.38.3) 2026-01-29 03:29:14 +01:00
c2e7f3869e Some more Fun VM and Rust interaction. (0.38.2) 2026-01-29 02:53:14 +01:00
543483041b Some arg Fun in Rust. (0.38.1) 2026-01-29 00:53:34 +01:00
da183962d4 Missed a file in the last commit. Sorry! (0.38.0) 2026-01-27 04:46:37 +01:00
149e135318 Added Rust support to the Fun core. (0.38.0) 2026-01-27 04:26:54 +01:00
869d68b992 Fixed try/catch to run finally again. exit() in catch if you want to stop execution. (0.37.62) 2026-01-24 21:17:40 +01:00
6648fa1e27 Some code style fixes in the parser and bug fixes. (0.37.61) 2026-01-24 20:15:25 +01:00
29db3bc63e Some array type fixes in the parser. Needs more investigation. (0.37.60) 2026-01-24 19:57:39 +01:00
d58bed053e FreeBSD build warning fix. (0.37.56) 2026-01-15 23:07:24 +01:00
501be417e8 Massive CMake refactoring... No code changes. (0.37.55) 2026-01-15 22:57:54 +01:00
b2ed368ffc Added raw memory dump to REPL. (0.37.54) 2026-01-15 15:14:48 +01:00