1
0
Fork 0
forked from fun/fun
Commit graph

478 commits

Author SHA1 Message Date
23c6d4e869 Added opcode include checks to GitHub workflow. No code changes. (0.41.3) 2026-04-27 03:20:54 +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
c68244d6f6 Renamed ./examples/external to ./examples/extensions. No code changes. (0.40.6) 2026-04-27 01:20:38 +02:00
28545fa8d4 Just testing some stuff. No code changes. (0.40.6) 2026-04-26 22:55:46 +02:00
060005543c Just testing some stuff. No code changes. (0.40.6) 2026-04-26 22:47:05 +02:00
1415b7fc9d Added new blog post and a lot of content fixes. No code changes. (0.40.6) 2026-04-23 00:34:04 +02:00
d17c89f552 Handbook update and fixes. No code changes. (0.40.6) 2026-04-21 03:38:18 +02:00
42d323a4a0 Intendation fixes in ./scripts/play.fun. No code changes. (0.40.6) 2026-04-21 03:09:46 +02:00
6f6cf78a30 README.md update. No code changes. (0.40.6) 2026-04-21 01:24:53 +02:00
925a0f95f9 Added .gitkeep to ./tmp/ to ensure this directory is in the project tree. No code changes. (0.40.6) 2026-04-21 01:08:44 +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
587bb76108 Documentation content fixes. No code changes. (0.40.5) 2026-04-20 23:38:53 +02:00
0b6c0e9a61 Documentation content fixes. No code changes. (0.40.5) 2026-04-20 23:29:07 +02:00
b598521704 Rmeove symlink ./docs. No code changes. (0.40.5) 2026-04-19 03:27:14 +02:00
4d5e63080b Added symlink from ./web/documentation to ./docs. No code changes. (0.40.5) 2026-04-19 03:26:21 +02:00
061f2418a9 Some cleanups. No code changes. (0.40.5) 2026-04-19 01:05:10 +02:00
e2cbc7be63 Some cleanups. No code changes. (0.40.5) 2026-04-19 00:54:51 +02:00
0b838dfd30 Some cleanups. No code changes. (0.40.5) 2026-04-19 00:44:31 +02:00
d2f673bf24 Some cleanups. Added download page to ./web/. No code changes. (0.40.5) 2026-04-19 00:38:06 +02:00
d8540a33eb Some cleanups. No code changes. (0.40.5) 2026-04-19 00:09:24 +02:00
bb704a3778 Renamed ./src/external to ./src/extensions. No code logic changes. (0.40.5) 2026-04-19 00:02:36 +02:00
529acb77b1 Some content fixes. No code changes. (0.40.5) 2026-04-18 00:36:41 +02:00
6084e15368 New tag fun-0.40.5. No code changes. (0.40.5) 2026-04-18 00:26:20 +02:00
e0f7d793f3 Added pre-announcement of a new verion of Fun. No code changes. (0.40.5) 2026-04-18 00:19:54 +02:00
f90a24e799 Added pre-announcement of a new verion of Fun. No code changes. (0.40.5) 2026-04-18 00:14:55 +02:00
01d50e9253 Added pre-announcement of a new verion of Fun. No code changes. (0.40.5) 2026-04-18 00:05:59 +02:00
cda661f263 Added pre-announcement of a new verion of Fun. No code changes. (0.40.5) 2026-04-18 00:04:56 +02:00
40a4800195 Added pre-announcement of a new verion of Fun. No code changes. (0.40.5) 2026-04-18 00:02:17 +02:00
63545ed918 Documentation refactoring. No code changes. (0.40.5) 2026-04-15 01:25:17 +02:00
a47660edc7 Added some VM configuration documentation. No code changes. (0.40.5) 2026-04-14 21:30:05 +02:00
7b79cf9032 .Fixes No code changes. (0.40.5) 2026-04-11 03:39:16 +02:00
02f0c07bce Documentation fixes. No code changes. (0.40.5) 2026-04-11 02:38:47 +02:00
e7e1343a83 Fixed tons of stuff in ./web/documentation/*. No code changes. (0.40.5) 2026-04-11 00:18:36 +02:00
567fa73796 Moved all docs from ./docs/ to ./web/documentation/ to be available on the website. No code changes. (0.40.5) 2026-04-10 23:27:55 +02:00
8f2847abfb Added new blog post to ./web/_posts/. No code changes. (0.40.5) 2026-04-10 23:06:56 +02:00
4bf1acd1f4 Added docs about the features in ./web/Makefile. No code changes. (0.40.5) 2026-04-10 22:45:38 +02:00
744972b364 Added documentation for the newly added website root to the root of the Fun project. No code changes. (0.40.5) 2026-04-10 22:42:06 +02:00
4f8beb70b9 Added documentation for the newly added website root to the root of the Fun project. No code changes. (0.40.5) 2026-04-10 22:41:52 +02:00
71576be449 Moved the website code to ./web/ to make it easier to maintain for me. No code changes. (0.40.5) 2026-04-10 22:36:29 +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
5c57391e5d Added spec version 0.4 and added a changelog that will cover all changes more detailed in the future. No code changes. (0.40.5) 2026-04-10 21:53:50 +02:00
03d915a96c Removed all libsql support. No code changes. (0.40.5) 2026-04-06 04:34:52 +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