Ludovic 'Archivist' Lagouardette
|
d7610138a9
|
Several fixes:
- Better (more) error handling
- CMakeLists clean-up
- added memset to the set of standard function I needed to ~~steal~~ borrow from OpenBSD
|
3 settimane fa |
Ludovic 'Archivist' Lagouardette
|
d1386a784b
|
More shell additions
|
4 settimane fa |
Ludovic 'Archivist' Lagouardette
|
d88dff3675
|
Merge remote-tracking branch 'refs/remotes/origin/main'
|
4 mesi fa |
Ludovic 'Archivist' Lagouardette
|
7c315c1a60
|
Fixed a few context panics
|
4 mesi fa |
Ludovic 'Archivist' Lagouardette
|
95875703a6
|
Make it possible to redefine functions
|
4 mesi fa |
Ludovic 'Archivist' Lagouardette
|
07a43ec54e
|
Updated the documentation a little
|
4 mesi fa |
Ludovic 'Archivist' Lagouardette
|
4239de9251
|
A build of the shell can now print the current version that was built if built with CMake
|
4 mesi fa |
Ludovic 'Archivist' Lagouardette
|
2125ac2abd
|
Factorizing string printing. Must factor out of shell to the lib later
|
4 mesi fa |
Ludovic 'Archivist' Lagouardette
|
bdc61ca621
|
fixed broken `words?` in shell due to names now being homoiconic
|
4 mesi fa |
Ludovic 'Archivist' Lagouardette
|
d18fa1f3f2
|
Removed the flags mentioned in the previous commit
|
4 mesi fa |
Ludovic 'Archivist' Lagouardette
|
ea8569227a
|
Storage of names is now fully internal, the NOSTRINGLITERALS and NOARRAY flags are no longer supported
|
4 mesi fa |
Ludovic 'Archivist' Lagouardette
|
b74b2821b8
|
better shell, starting to port shell to 9front
|
4 mesi fa |
Ludovic 'Archivist' Lagouardette
|
a4fb883b62
|
Added a C89 example shell which defines a couple of functions as an example
|
4 mesi fa |
Ludovic 'Archivist' Lagouardette
|
a83c08aed7
|
Fixed garbage collection mistakes
|
4 mesi fa |
Ludovic 'Archivist' Lagouardette
|
d2d8e73e1e
|
Fixed cosmetic incongruities
|
4 mesi fa |
Ludovic 'Archivist' Lagouardette
|
211ced2b8c
|
Fixed error in context destruction
|
8 mesi fa |
Ludovic 'Archivist' Lagouardette
|
702af1bdbf
|
Added a macro for stoopid libc that made putchar a macro
|
9 mesi fa |
Ludovic 'Archivist' Lagouardette
|
5c89f464f8
|
Fixed print_int for negative numbers
|
9 mesi fa |
Ludovic 'Archivist' Lagouardette
|
5c9480ab1b
|
Compile time constant for parser state size added
|
9 mesi fa |
Ludovic 'Archivist' Lagouardette
|
98fa605018
|
Minor refactoring of function pointers and field order
|
10 mesi fa |
Ludovic 'Archivist' Lagouardette
|
1e90035873
|
Added context clearing
|
10 mesi fa |
Ludovic 'Archivist' Lagouardette
|
5ac84ed230
|
Added more tests for better coverage
|
1 anno fa |
Ludovic 'Archivist' Lagouardette
|
e9ea189cf9
|
Added some ctests and some infra to make CTests relatively easily
|
1 anno fa |
Ludovic 'Archivist' Lagouardette
|
62b32be494
|
Added the macro keyword and feature: allows to process a function at compile time and reuse the results instead of calculating it every time #1
|
1 anno fa |
Ludovic 'Archivist' Lagouardette
|
acc5e366ad
|
Made the garbage collector preserve object whose only reference are statically defined in function code #2
|
1 anno fa |
Ludovic 'Archivist' Lagouardette
|
a586f0e80a
|
Added more conditional removal of code, removed some extra work and pushed clearing of routines out of the normal path to avoid clearing memory we may want to reuse very soon
|
1 anno fa |
Ludovic 'Archivist' Lagouardette
|
c953888f2a
|
Adding a flag to control steps granularity in hope of better performance
|
1 anno fa |
Ludovic 'Archivist' Lagouardette
|
0c9891f750
|
Adding an optimization flag that removes checks to try and grind some extra speed for the usecase where ink is a sanitized bytecode
|
1 anno fa |
Ludovic 'Archivist' Lagouardette
|
d47eca9022
|
Oops, left a debugging printf in a critical section
|
1 anno fa |
Ludovic 'Archivist' Lagouardette
|
5a17cef1be
|
Added sanity NULL sets to verify the proper handling of arrays and avoid double frees
|
1 anno fa |
Ludovic 'Archivist' Lagouardette
|
f9ed5f3fb8
|
additional cleanup: fixes the cleanup of NULL routines
|
1 anno fa |
Ludovic 'Archivist' Lagouardette
|
0b1240b79c
|
additional cleanup: clean both normally terminated and reusable routines
|
1 anno fa |
Ludovic 'Archivist' Lagouardette
|
14ac77bf8d
|
additional cleanup: removing function stack elements too
|
1 anno fa |
Ludovic 'Archivist' Lagouardette
|
fcb3457788
|
Merge branch 'main' of https://git.nekoit.xyz/Archivist/ink
|
1 anno fa |
Ludovic 'Archivist' Lagouardette
|
61bc4e6359
|
added a function to collects expended routines
|
1 anno fa |
Ludovic 'Archivist' Lagouardette
|
403bd7efad
|
allow making a context at a specified location, to use the userdata as wanted for allocations more easily
|
1 anno fa |
Ludovic 'Archivist' Lagouardette
|
ae4d95ad63
|
made the allocations and printing aware of the context
|
1 anno fa |
Ludovic 'Archivist' Lagouardette
|
f5e6d3477d
|
added better error feedback and detection
|
1 anno fa |
Ludovic 'Archivist' Lagouardette
|
24a0eea561
|
optimized the run to not be done if there are no routine or on VM panic
|
1 anno fa |
Ludovic 'Archivist' Lagouardette
|
bdc1d1dac9
|
added parsing of string literals
|
1 anno fa |
Ludovic 'Archivist' Lagouardette
|
d3b58a1d84
|
added more control to ink_compile
|
1 anno fa |
Ludovic 'Archivist' Lagouardette
|
3803deda06
|
Merge branch 'main' of https://git.nekoit.xyz/Archivist/ink
|
1 anno fa |
Ludovic 'Archivist' Lagouardette
|
06dd262d05
|
fixed C89 incompatibilities, added the check to CMake
|
1 anno fa |
Ludovic 'Archivist' Lagouardette
|
f29fce26a8
|
Exposing array functions
|
1 anno fa |
Ludovic 'Archivist' Lagouardette
|
ee77862667
|
Relax CMake requirement to version 3.0
|
1 anno fa |
Ludovic 'Archivist' Lagouardette
|
2d6ae0ebe1
|
Fixed what appears to be extra zealous array cleanup
|
1 anno fa |
Ludovic 'Archivist' Lagouardette
|
4fe7c555ad
|
Clearing the superfluous things in the stack on launch
|
1 anno fa |
Ludovic 'Archivist' Lagouardette
|
1a3b1f89f7
|
added a xor operation
|
1 anno fa |
Ludovic 'Archivist' Lagouardette
|
8f7c7b2c6c
|
Added type test functions
|
1 anno fa |
Ludovic 'Archivist' Lagouardette
|
80087bc851
|
Do not make a routine for executables with no code to execute
|
1 anno fa |