Commit graph

9 commits

Author SHA1 Message Date
slederer
14d6de059d implement newOrNil, changes to stdlib
- newOrNil works like new, but sets the variable to nil
  if the heap allocation failed
- change stdlib to use newOrNil in openfile and openvolumeid
- changes to programs that use openvolumeid
2025-08-31 23:30:40 +02:00
slederer
6d08db2933 Correctly implement negative array indices, other bugfixes
- check for negative string lengths
- handle negative values for emitInc/emitDec
- bugfix for parseInteger with leading minus
- fix set literals containing variables as elements
2025-03-31 00:47:34 +02:00
slederer
bb602043d2 Bugfix skip-line directive with Unix line endings 2025-03-30 23:31:58 +02:00
slederer
dd1e1f7b41 disallow GOTO when it could corrupt the estack
- this occurs inside a FOR or CASE statement
- GOTO out of a WHILE or REPEAT loop  works
2025-02-20 01:41:08 +01:00
slederer
c779cd0d3f stdlib: add nointr procedure
stdlib: give PExec2 and PExec3 more sensible names

pcomp: increase heap size
2025-02-02 01:18:01 +01:00
slederer
74a467cba6 pcomp: Increase heap and stack sizes 2025-01-12 00:02:54 +01:00
slederer
7fdbd247e6 adjust some filename suffixes for new stdlib scheme 2024-11-11 00:33:26 +01:00
slederer
19f7d2a0eb Bugfix return type for some set operators 2024-10-16 02:01:12 +02:00
slederer
60db522e87 initial commit 2024-09-19 14:12:22 +02:00