Stone Tickle
c2e1442d04
clang-format
2024-04-15 16:30:43 -04:00
Stone Tickle
830036fe82
update formatting
...
This formatting isn't ideal but is okay for now. Should be improved
prior to 0.3 release
2024-04-15 16:24:32 -04:00
Stone Tickle
5af097ea13
remove commented code from fmt.c
2024-04-15 16:24:32 -04:00
Stone Tickle
d074439150
fix bad formatting caused by scope after label
2024-04-15 16:24:32 -04:00
Stone Tickle
51b95ded3f
improve unclosed @ warning message
2024-04-15 16:24:32 -04:00
Stone Tickle
c2dd29b88e
fmt: line break before + operator
2024-04-15 16:24:32 -04:00
Stone Tickle
4717a71bd4
attempt to appease memsan
2024-04-15 16:24:32 -04:00
Stone Tickle
6be0cabd89
fix formatting
2024-04-15 16:24:32 -04:00
Stone Tickle
f8ef858171
fix format all files filtering
2024-04-15 16:24:32 -04:00
Stone Tickle
ad323771e3
fix double-opening format cfg
2024-04-15 16:24:32 -04:00
Stone Tickle
58e3eaa938
rewrote formatter
2024-04-15 16:24:28 -04:00
Stone Tickle
3c06296c11
rewriting formatter pt 1
2024-04-15 16:23:59 -04:00
Stone Tickle
11507a4aad
delete interpreter.c
2024-04-15 16:23:59 -04:00
Stone Tickle
bb1978bb8d
add more cleanup
2024-04-15 16:23:59 -04:00
Stone Tickle
2487574c8a
fix dump_funcs
2024-04-15 16:23:59 -04:00
Stone Tickle
9c11e1e62c
fix pid type
2024-04-15 16:23:59 -04:00
Stone Tickle
2aa7e6ea02
add missing include
2024-04-15 16:23:59 -04:00
Stone Tickle
10475a468e
fix .clang-format copyright
2024-04-15 16:23:59 -04:00
Stone Tickle
cf7c08467d
fix bootstrap and reuse headers
2024-04-15 16:23:59 -04:00
Stone Tickle
41c560d2d7
fix configuration_data def args
2024-04-15 16:23:59 -04:00
Stone Tickle
98e2b0e855
fix eval() error recovery
2024-04-15 16:23:59 -04:00
Stone Tickle
88c9af5ba3
more fixes
2024-04-15 16:23:59 -04:00
Stone Tickle
d47416a714
more function scope fixes
2024-04-15 16:23:58 -04:00
Stone Tickle
c10df431b0
func support finished and some small fixes
2024-04-15 16:23:58 -04:00
Stone Tickle
a0c8580983
disabler support
2024-04-15 16:23:58 -04:00
Stone Tickle
93e710382e
add an abort handler to give some context
2024-04-15 16:23:58 -04:00
Stone Tickle
d803d7e2b7
fix object serde
2024-04-15 16:23:58 -04:00
Stone Tickle
b3894ac5cb
better source locations and lots of bug fixes
2024-04-15 16:23:58 -04:00
Stone Tickle
21944114fc
fix ternary and stdlib reliance on project stuff
2024-04-15 16:23:58 -04:00
Stone Tickle
f22b2e6bd6
update all optional args usages
2024-04-15 16:23:58 -04:00
Stone Tickle
6b41b7940f
change native function signature
...
args_node is unnecessary now
2024-04-15 16:23:58 -04:00
Stone Tickle
6243153b82
rename rcvr -> self
2024-04-15 16:23:58 -04:00
Stone Tickle
c34b59d2c5
rename interp_args->pop_args
2024-04-15 16:23:58 -04:00
Stone Tickle
e9f8c0477e
more stuff working + clang-format
2024-04-15 16:23:52 -04:00
Stone Tickle
38b784928e
rip out interpreter part 2
2024-04-15 16:22:37 -04:00
Stone Tickle
7c0b2d3b0e
rip out interpreter part 1
2024-04-15 16:22:37 -04:00
Stone Tickle
3968836020
kwargs
2024-04-15 16:22:37 -04:00
Stone Tickle
e31268dc63
captures and func defs working
2024-04-15 16:22:37 -04:00
Stone Tickle
5a0166cf5d
more ops and better error handling
2024-04-15 16:22:37 -04:00
Stone Tickle
2d80c301b0
more stuff
2024-04-15 16:22:32 -04:00
Stone Tickle
aff6b355fc
basic foreach working!
2024-04-15 16:19:11 -04:00
Stone Tickle
7ba9e7aef1
initial bytecode prototype
2024-04-15 16:19:11 -04:00
Stone Tickle
655e966db3
add arr_pop
2024-04-15 16:19:11 -04:00
Stone Tickle
edb77a1ecb
rework lexer
2024-04-15 16:19:11 -04:00
Stone Tickle
0e215f31bf
fix assert in analyzer
2024-04-04 22:03:17 -04:00
Andrew McNulty
3cf6d49174
github: Add ubuntu workflow
...
This is a basic workflow to run some of the tests on
Ubuntu in the GitHub CI. It's based on the existing
SourceHut debian workflow.
2024-04-04 21:35:31 -04:00
Andrew McNulty
0099aa2bea
deps.c: Fix truncation in deps parser.
...
On aarch64 (under gcc-12) the value returned by src_getc is and'ed
with 0xff causing the resulting comparisons to fail (when they otherwise
should succeed).
2024-04-01 23:04:32 -04:00
Vincent Torri
a65caf879b
Windows: fix warning in fmt.c
...
On Windows, long is always a 4 bytes type. Hence
lval > (long)UINT32_MAX is always false. To fix
this, use a long long and strtoll()
2024-03-21 11:11:26 -04:00
Andrew McNulty
3116dde2d9
Windows: Add missing include for getenv
...
Without this `getenv` might be defaulted to return
int causing pointers returned by it to be truncated
leading to invalid access.
I'm not sure if others have run into this, but it
seems to be systematic under VS2022, causing the
first access in `fs_find_cmd` to a pointer returned
from `getenv` to segfault.
2024-03-21 11:10:43 -04:00
Vincent Torri
2ce00a5a77
log.c: fix warning on Windows
2024-03-09 12:14:21 -05:00