1
0
Fork 0
forked from fun/fun
Commit graph

232 commits

Author SHA1 Message Date
774517edaf Small test script fix. (0.42.1) 2026-06-03 22:08:25 +02:00
cbb81c0b93 Added a Redis/Valkey extension named redis. (0.42.0) 2026-06-03 21:48:45 +02:00
6a39862787 ./examples/features.fun and ./web/features/features.md update. (0.41.16) 2026-05-28 01:27:08 +02:00
a5de8b167a Some more internal optimizations. (0.41.15) 2026-05-26 05:13:04 +02:00
0d6685abcd Some internal optimzations and helpers. (0.41.14) 2026-05-26 04:43:11 +02:00
3a838ae3d5 Added basic interactive IRC client with tons of bugs... :D (0.41.13) 2026-05-26 04:34:35 +02:00
9d70f29379 Added basic IRC library fully written in Fun. Some fixes. (0.41.12) 2026-05-26 02:45:56 +02:00
91f4fa3c07 Added basic IRC library fully written in Fun. (0.41.11) 2026-05-26 02:35:38 +02:00
92bb5d4471 Some cmake output changes. No code changes. (0.41.10) 2026-05-26 01:56:42 +02:00
c3ccab9492 Lot of content fixes and updates. No code changes. (0.41.10) 2026-05-11 01:44:08 +02:00
abfb302c52 Fixed kcgi bug in ./scripts/check_op_includes.py. (0.41.10) 2026-05-09 19:45:50 +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
7fd6445cd2 Added Doxigen configuration file Doxyfile to project root. No code changes. (0.41.5) 2026-05-07 00:31:46 +02:00
24c54fba41 Made building the docs optionally with -DFUN_BUILD_DOCS=ON. No code changes. (0.41.5) 2026-04-28 06:48:17 +02:00
d452c9c6bc Added basic Doxygen.in file to create code documentation in the future. No code changes. (0.41.5) 2026-04-28 06:11:21 +02:00
8e895dafcc More fun with scripts/play.fun. No core code logic changes. (0.41.5) 2026-04-27 04:25:14 +02:00
d96976c6a9 Made the ./scripts/play.fun script behave mor like ./scripts/run_examples.sh. No internal code logic changes. (0.41.4) 2026-04-27 03:53:27 +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
9bba1e34ec Beautified some code in the cgi.fun library. (0.40.8) 2026-04-27 01:55:01 +02:00
3bcdc83e30 Fixed bug in the cgi.fun library. (0.40.7) 2026-04-27 01:31:34 +02:00
5eb5cd7348 Added ./scripts/play.fun to interactive run thrue all examples in ./examples/. (0.40.6) 2026-04-21 01:04:39 +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
5d5b102252 Some fixes in scripts/run_examples.sh. (0.39.16) 2026-04-01 22:45:02 +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
4956e44e60 Added some await pattern and added a scheduler to the stdlib. Broken! (0.39.13) 2026-03-30 14:53:11 +02:00
cb3eb0a498 Added some basic asyncio stuff. (0.39.12) 2026-03-27 00:44:40 +01:00
6a16e5fb45 Some more HTTP multi-threading Fun. CGI is broken. (0.39.11) 2026-03-26 22:40:51 +01:00
5222f79434 Some more HTTP POST evaluation. Still broken! (0.39.10) 2026-03-26 00:36:52 +01:00
e240768c26 Lot of example directory structure refactoring. (0.39.9). 2026-03-25 23:51:47 +01:00
564999709c Added lot more example code. (0.39.8). 2026-03-25 23:38:04 +01:00
3b70d6c92a More CGI Fun. (0.39.7) 2026-03-25 22:44:32 +01:00
db9665f62a Added maps iteration example. (0.39.6). 2026-03-25 21:24:35 +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
21552dc8d7 Holy shit, added some fun.md to the docs. (0.39.2) 2026-03-18 21:38:51 +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