1
0
Fork 0
forked from fun/fun
Commit graph

217 commits

Author SHA1 Message Date
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
3e0d47a268 Added LibreSSL as an alternative to OpenSSL. Needs more testing! (0.38.16) 2026-02-19 23:33:00 +01:00
9016b207b8 Some more stdlib fun and example code and cosmetic changes. (0.38.15) 2026-02-19 21:50:24 +01:00
cb5e61c091 Just cosmetic changes. (0.38.14) 2026-02-19 14:23:00 +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
494f47a9a5 Added some ctest stuff. No code changes. (0.38.11) 2026-02-09 02:28:19 +01:00
8a1afc2aa1 Some more stdlib refactoring removing duplicate code. (0.38.10) 2026-02-09 01:43:06 +01:00
794a2354d6 Some more stdlib refactoring removing duplicate code. (0.38.9) 2026-02-09 01:02:49 +01:00
54d94a1f3d Some stdlib refactoring removing duplicate code. (0.38.8) 2026-02-09 00:29:50 +01:00
e017466cc7 Added AES256 support... (0.38.7) 2026-02-08 23:56:21 +01:00
cd35ea767d Only CMake cosmetics. No code changes. (0.38.6) 2026-02-01 01:32:54 +01:00
e7e1563228 Only CMake cosmetics. No code changes. (0.38.6) 2026-02-01 01:02:29 +01:00
bc5c699a6a Some style fixes. (0.38.6) 2026-02-01 00:39:13 +01:00
4e155b55a5 Small test script update. (0.38.5) 2026-01-29 05:37:30 +01:00
d79815e366 What is CPP? Holy shit... (0.38.4) 2026-01-29 05:09:15 +01:00