shithub: femtolisp

RSS feed

ca55a338 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/20 17:06
docs: always set the props regardless of environment, set the fun vars separately

e0508d01 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/20 11:36
help: cleaner logic; only record doc strings for top level definitions

c48cb659 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/20 02:00
fix nil reading, make it case insensitive

dd5b367d – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/19 23:16
implement (define x "doc string" ...) and (define (f p ...) "doc string" ...)

0f307a06 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/19 19:33
move {put,get,rem}prop to system.lsp

fff86746 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/18 21:14
add bench.lsp

2282a527 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/18 21:12
apply_cl: simpler

05f265f2 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/17 20:50
set default scr_width to 100

c3958c2e – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/17 20:44
length: return number of entries in a hash table

bb2fbaf5 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/13 14:13
prefer "nil" over "()"

f9928e77 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/13 12:54
pair symbol → cons

847c4988 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/13 01:02
aref/aset! on proper lists

f510f5f6 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/12 21:05
ios, read: better parse error location logic

4dc8cff4 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/11 22:44
pair? → cons?

4a408b2e – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/11 21:36
remove OP_BOOL_CONST_{F,T} and OP_NIL - instead reuse already existing OP_LOAD* ops

76aec5fa – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/11 21:29
OP_THE_EMPTY_LIST → OP_NIL

f3247131 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/11 21:25
make FL_{nil,f,t,eof,unspecified} global

2b3838fc – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/11 21:18
split opcodes.h into header and C file

c186019e – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/11 00:26
apply: make sure last arg is a list

81fdc5ef – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/10 21:17
disenv.lsp: a script to disassemble everything

ef4fa80a – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/10 21:14
map, for-each: fix wrong stack size assumptions

1fa5ecb3 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/10 21:14
for-each and hash tables: fix after relocation, reduce size limit to uint32, add an assert

ba512ae0 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/10 18:46
scheme alises: flush-output-port

2f6d0a48 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/10 18:39
scheme alises: lambda → λ

1f1b5db7 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/10 18:39
scheme alises: input-port-line

46b1e630 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/10 12:55
rename "separate" → "partition" and get rid of the broken alias from aliases.scm

a9b51fb3 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/09 22:41
aset!: support multiple indices

a7bb3ba3 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/10 00:52
aref: apply + multiple indices

c400506d – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/09 19:04
aref: fix multiindex on arrays

4cf907cc – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/09 18:45
aref N: make N start at 0, do a better disassembly to make it more clear what's going on

0864e3a7 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/09 15:05
aref: support multiple indices

33cfd0c3 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/08 12:44
remove table-foreach

bda10587 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/07 20:06
for-each: work with vectors, arrays and hash tables

7f5c3632 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/06 09:07
map: allow a shorter list in any position

83ec06d0 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/06 08:54
for-each: make it more readable

875f42e8 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/05 22:50
for-each: stop on shortest list end, do not throw errors

40b76da1 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/05 20:04
for-each: work with multiple lists

db405e1a – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/04 14:36
apply_cl: tail: int → bool

808b3dcb – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/03 22:53
for-each: just increment sp instead of pushing booleans

5d8fd67b – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/03 22:36
system: remove unused map* funcs

14c196a5 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/03 12:59
c***r: return empty list if passed empty list

7392b1c6 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/02 21:59
compiler: "if": fold dup+brf+pop when not caring about the final result with "and"

cace5839 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/02 21:38
eradicate more "lambda"

1d2ccbb5 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/02 10:55
plan9: everything depends on builtin_fns.h

7b7d2212 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/01 08:31
do_read_sexpr: move unexpected cases down

547836a0 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/01 08:30
compiler: remove now unused compile-for

a4f25a80 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/12/01 08:29
compiler: emit: less aref calls

56cdb52a – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/29 22:56
compiler: builtin calls: fix broken check of arg count

58ce0e39 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/29 22:16
builtin->instruction: add missing 'for'

a69ae5ed – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/29 22:01
bring back for-each as a builtin

5c4ffb3f – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/29 21:52
type error: print the actual type as well

274bea2d – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/29 21:16
define a lambda for "for"

a0cabac0 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/29 21:15
OP_FOR: use _applyn to work with every type of functions and fail otherwise

e022f411 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/29 20:06
disable Fl in TLS in debug mode for now

a49e7727 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/29 13:36
system: don't include *interactive* in boot image; *os-name* is a string

44914167 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/28 23:50
bring back torture test (longer running) with breaking part disabled

f7b53020 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/28 01:44
remove unused "nop" opcode

b6927437 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/27 19:12
compiler: none of the builtins are constants, still use their value directly

36b24a92 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/27 18:34
fltype_t->marked: remove (unused)

3e42c9f3 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/27 18:22
*os-name*: make it a string

6e1de777 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/27 07:35
pow -> expt

63558a79 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/27 04:41
add "makunbound"

22ae0e36 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/26 23:25
built-in symbols aren't constants anymore

6a78340e – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/26 23:06
OP_KEYARGS: update ipd, else ip will be written in the wrong location

06419ca6 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/26 16:14
no need to allocate for copies of constant symbol names

3f3bedb8 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/26 15:54
start with a much smaller initial stack size

3d517354 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/26 15:54
tweak *vm-stats*

9c48e4c8 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/26 15:54
remove unused 'op' variable when using computed goto

84938955 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/26 14:50
small cleanup

252c5221 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/26 14:32
remove the failing (and no longer needed) assert

1dd15a7d – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/26 00:36
*vm-stats*: print heap total and free

82905b0e – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/25 20:26
disable broken torture.scm

79d9a378 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/25 20:20
remove setc and setc.l (unused)

4fa105ad – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/25 20:11
build flisp between mkboot0 and mkboot1

e877c7e9 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/25 20:08
import "inline lambdas in head position (i.e. `let`)" from Julia's femtolisp

7965ff00 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/25 14:21
incorporate closure representation changes from Julia's flisp

008d2886 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/25 13:28
compiler: refactor flisp compiler to handle internal define much more cleanly

886ae135 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/25 13:11
small fixups

ab59d89c – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/24 21:24
corrections: eq → eq?

38ab710d – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/21 18:36
computed gotos: use direct label addresses instead of offsets

15306c74 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/21 18:35
isbuiltin: check the tag first, then uintval

4e18c398 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/20 22:29
mptoui: fix a warning on 32-bit openbsd

dd77f60d – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/20 22:11
mp test: fix on openbsd - have to include stdio.h

235a5a52 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/20 21:56
add sinh, cosh and tanh builtins

403612b4 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/20 15:11
rearrange for slightly better performance

778666f0 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/19 05:10
test: add a very simple mpmul benchmark

184211fc – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/19 04:46
mpint: rearrange fields and use int for flags - slightly faster

49d1461e – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/19 04:39
mp: use 64-bit mpdigit on 64-bit platforms as it's slightly faster

79a4a02a – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/19 04:38
set min mp int signif bits to the full size of fixnum

76a7c66d – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/18 20:30
read_string: use read context buffer (increase its size) to avoid allocations

c1b99838 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/17 23:08
for the sake of clang: Fl struct back to a tls pointer; rearrange and clean up

ec2a902a – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/17 20:24
mp tests: apparently they only printed the errors, never exiting with non-zero code; fix everything

32b537db – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/17 19:45
mp test: fix warnings

d0505fae – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/17 19:40
libmp: if somebody decides to redefine mpdigit as uint64, this was the fix to make it work

c3f00463 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/16 22:05
import the rest of libmp tests from 9front

46782641 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/16 20:52
mp: import a test and fix the issues it found

076b3b75 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/16 08:54
readme update

88243e3e – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/16 02:36
fl_read_numtok: simplify worst case, make sure there is no leak

5df1e169 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/15 20:26
snprint_real: don't use strcpy to shut openbsd up

dbead606 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/15 20:04
posix platform: remove unused macros

Next