shithub: femtolisp

RSS feed

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

5bedf304 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/15 20:04
fl_any_arith: fix wrong function used (mpnew → vtomp)

20488fc4 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/15 19:30
refactor (mostly arithmetic)

1b00536f – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/14 12:42
plan9: tests: put long-running ones at the end, unit tests first

6818b86e – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/14 12:20
test: lambda → λ

04e2c930 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/14 11:44
plan9: no longer need bswap* stuff

49717af9 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/14 00:31
mp: fix mpbits with negative n

a4bfa208 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/13 02:34
read: fix a possible crash

1ee781cb – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/13 01:55
add floor and ceiling

74761f99 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/13 01:25
math: always use doubles; add log10 and pow

83aa7a0b – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/13 00:52
use -Wno-gnu-offsetof-extensions with clang

0b985dfc – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/12 22:54
remove "dump" builtin

b0833420 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/12 22:52
bitvector_*: turn into defines

e4cc50bd – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/12 22:44
remove bitvector ops

1639dd6b – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/12 22:30
plan9: add PRIu32 used in *vm-stats*

b215b135 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/12 22:29
memmove → memcpy where applicable

0f3c0519 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/12 20:59
make computed goto table a bit more readable

0769956a – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/12 20:51
add (*vm-stats*) to print out a bit of vm statistics

6eababf8 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/12 20:38
sixel support: enabled → auto

c92a5cae – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/12 20:21
clean up and fix some of the types and type casts

541946a4 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/12 18:48
move COMPUTED_GOTO define to meson.build

176253d3 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/12 14:44
Revert "import from Julia: "flisp: rewrite `for-each` in C for speed", by Jeff Bezanson"

c30d393c – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/12 14:27
map: sync with Julia's implementation

6bfb55fb – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/12 14:04
bootstrap: revert flisp.boot on errors

d9d1a7eb – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/12 11:24
ios: ios_getc: better colno calculation when multi-byte runes are present

c14c2527 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/12 10:59
read_list: print _where_ it's not closed

6a09db50 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/12 10:57
ios_getutf8: don't update column number on bad runes

413350ab – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/11 15:49
print_iostream: dump the filename as well, if any; make std* file names match their in-lisp symbols

12a2928c – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/11 15:19
import from Julia: "fix a couple small flisp memory bugs", by Jeff Bezanson

ea8a8d71 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/11 15:06
vector_grow: import partial change by Jeff Bezanson from Julia

e732a668 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/11 14:59
import from Julia: "fix a possible flisp memory bug", by Jeff Bezanson

b81e574f – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/11 14:43
lessen the ridiculous amounts of parens in flisp.h

1a611fb2 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/11 14:24
import from Julia: "flisp: rewrite `for-each` in C for speed", by Jeff Bezanson

ea47856f – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/11 14:23
fixed some of the strings not marked with const

783f049a – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/10 22:56
read: nextchar: just call ios_getc

212e0968 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/10 22:46
add io-filename, produce parsing errors with file, line and column information

944262d5 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/10 22:44
const strings on *_error calls

94ef25c7 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/10 22:44
IOS_INLSIZE: 54 → 128

e4cb42e2 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/10 22:07
reader: move buffer & co onto the stack

6df54177 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/10 21:47
add io-{line,column} and io-set-{line,column}!

e547019e – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/10 20:24
disassemble: remove an extra tab char at the beginning

16807df9 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/10 20:00
apply_cl: use computed goto when possible

98726d68 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/10 18:44
fix UBs found while running tests; fix negation for uint64 underflowing

64785f01 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/10 17:53
fix 1<<... style UBs

5b0abd4e – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/10 17:53
remove arch-dependent bswap uses on non-aligned addresses, use per-byte reads

a7bae383 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/10 14:22
more renames and rearrangement

4531f42e – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/10 14:13
with FL(x) addition, rename some of the builtins/symbols

f02ba63f – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/10 13:55
add FL(x) accessor and disable TLS for now

721152be – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/10 13:40
fix ugly indentation in disassembly output

aaa5cd4c – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/10 13:10
disassembly: fix off-by-one offset for 1-byte instructions

e4415ad2 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/09 14:24
disassemble: the newline is indeed needed, always

55c93fc3 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/09 14:06
provide instruction pointers in stacktrace; disassemble when dumping exceptions

d170d141 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/09 11:56
vm loop: update current frame's instruction pointer before any exceptions may be raised

da7de7d9 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/07 21:55
c: spaces to tabs

17f2f68f – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/07 21:49
move all global context to a single struct in tls

02fe9797 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/07 16:25
_stacktrace: move declarations inside the loop

e8d69c4c – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/07 13:42
stop with the curr_func stuff, leave the proper stack trace construction to system.lsp

e731ef03 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/06 22:55
meson: add b_ndebug=if-release by default to keep asserts out of release builds

51dce20a – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/06 22:51
mkfile: fix non-existent file used for builtins generation; remove generated files on errors

dfdd1961 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/06 22:35
do less when recording which function is currently running just to never throw any exceptions

d229b8ba – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/06 21:25
ios: file descriptors are int, not long

ee7d78d5 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/06 21:21
LICENSE: mention SpookyHash implementation

8bf655dc – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/06 20:46
replace lookup3 with SpookyHash

dcefc02b – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/06 20:15
plan9: use aux/data2s to include flisp.boot

171ae957 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/06 19:52
ios: char → uint8_t; remove a few unused fields

0379b2da – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/05 16:00
scheme/lisp files: tabs to spaces, remove trailing whitespace

c20c2ac5 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/05 13:14
remove unused *whitespace* define

2e8caea3 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/05 13:02
table: import leak fixes from julia (thanks Keno Fischer and Jeff Bezanson)

0e0e4749 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/04 21:32
on exit: call gc(0) and call finalizers on all cvalues

6a028566 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/04 21:12
sixel: do not allocate anything in init besides sixel-output type

3c4a68e0 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/04 20:08
reduce ios buffer size to 32k

e7b05893 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/04 19:41
rename io-tostring! → iostream->string

f99b92aa – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/04 19:03
fix plan 9 build

29a839ab – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/03 18:20
add terminal-{show,hide}-cursor

ad2da48d – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/03 17:22
terminal: set VMIN to 1, clear INPCK and ISTRIP

fc7d6470 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/03 17:21
terminal: reset back to non-raw mode in atexit

738a6ef6 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/03 17:21
io-wait: timeout in seconds

93e8ec48 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/03 15:22
boot2h: make sure there is a newline after (thanks be0ba)

ebbc3ba5 – grobe0ba <grobe0ba@tcp80.org> authored and Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> committed on 2024/11/03 08:14
don't use ulong, use uint32_t

2479b225 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/03 15:03
add terminal-{enter,leave}-raw-mode and terminal-get-size

10e8e99e – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/03 13:45
add io-wait

23e85703 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/03 02:34
length builtin: detect cycles and return infinity if there is any

4679ff50 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/11/02 21:59
sixel-output: reset scaling buffer

Next