1
0
mirror of https://github.com/janet-lang/janet synced 2026-06-04 03:32:15 +00:00
Commit Graph

67 Commits

Author SHA1 Message Date
bakpakin 60b8f436f0 Proper order for libraries in Makefile. 2018-01-12 17:42:14 -05:00
bakpakin 6679fb299f add -lm flag 2018-01-12 17:33:56 -05:00
bakpakin 59bed71a2c Make some unit tests pass. Fix transfer to new fiber. 2018-01-12 16:25:24 -05:00
bakpakin 204caa6d8f Factor out language specials to separate files in compiler.
Add transfer special. */
2018-01-12 10:41:27 -05:00
bakpakin 605848b217 Rename DstValue to Dst for easier access. Move vector.c into
util.c and make public API smaller. Pad strings and symbols with
extra 0 byte for better interop with C.
2018-01-06 11:09:15 -05:00
bakpakin 2771171658 Much work on compiler. Fixing bugs and gradually cleaning
up code. Generalized some vector code.
2018-01-05 16:17:55 -05:00
bakpakin e4735e14d2 More compiler bug fixes. Added some features and functions like varargs. 2018-01-03 21:36:10 -05:00
bakpakin f273aa8b1b Add vars, split up headers, remove fiber->ret, add comparators, etc. 2017-12-30 16:46:59 -05:00
bakpakin 34a83839f5 Add utf-8 compatibility in parser. Symbols can
be valid utf-8 strings
2017-12-20 23:03:34 -05:00
bakpakin 01a95426b3 More work on compiler. Add compiler unit test that currently
segfaults alot. Added dst_disasm to reconstruct dsts assembly
from a funcdef.
2017-12-16 23:11:51 -05:00
bakpakin 2d781ef21b Compiler is coming along. Work on Slot system and general compiler strategy. 2017-12-16 01:17:53 -05:00
bakpakin 1293d2e301 Initial rewrite of compiler 2017-12-14 19:33:45 -05:00
bakpakin a2ee6ffe5c New custom strtod implementation. 2017-12-08 15:57:02 -05:00
Calvin Rose eceb6e5a77 More work on nanbox implementation. 2017-11-29 15:17:56 -05:00
Calvin Rose d84cc5342e Fix write after free bug.
Remove caching from strings, tuples, and structs.
Keyword style strings removed, now are just symbols. The
compiler can decide to treat symbols with a leading ':'
differently for mostly the same effect. This was done because
as strings are no longer interned, symbols are cheaper to look
up and check for equality.
2017-11-27 14:03:34 -05:00
bakpakin baa4e20b79 Some more changes to the nanbox_test 2017-11-26 20:20:30 -05:00
bakpakin 68f5ea4361 Add test nanbox implementation. Works for 32 bit and 64 bit x86 2017-11-26 19:31:40 -05:00
bakpakin 6ca6949c2d Getting more work done on assembler, parer, and unit tests. 2017-11-20 21:39:44 -05:00
bakpakin 9a858d5a97 Adding some more unit tests for various components. 2017-11-06 09:44:10 -05:00
bakpakin f6dcb07c8d More work. Too many changes to be listed. 2017-11-05 22:05:47 -05:00
bakpakin a2ee028bd5 WIP 2017-11-01 17:53:43 -04:00
bakpakin 3efd400025 Huge number of changes. Still WIP. Refactoring and
changing C API model. This commit is not i a working state.
2017-09-09 14:39:51 -04:00
bakpakin 9187d4c1e2 Create xxd clone for build time gst scripts. 2017-07-15 23:25:10 -04:00
bakpakin f0545865a8 More corrections to varargs. 2017-07-15 12:41:54 -04:00
bakpakin 57886db410 Making some changes. 2017-07-15 12:21:06 -04:00
bakpakin 8c20b7229a Refactor module and env code into separate files. 2017-07-12 14:47:09 -04:00
bakpakin 70efcc336b Move some string functions to a new file. 2017-07-03 13:44:58 -04:00
bakpakin 961275116f Add symbol function 2017-07-03 11:22:23 -04:00
bakpakin 31ec1e9147 Add install and uninstall make targets. 2017-07-02 14:56:31 -04:00
bakpakin 7a9e991c41 Add color options to repl. 2017-07-02 14:42:30 -04:00
bakpakin 4a131fe47e Add some command line options to the client program. 2017-07-01 22:34:31 -04:00
Calvin Rose 21bd960865 Add more tests
Reuse threads on gst_run when possible
change name of getline to gst_getline
2017-06-29 21:57:09 -04:00
Calvin Rose 092fd68935 Remove -Wpedantic 2017-06-25 19:53:55 -04:00
Calvin Rose b23fc136dd Remove readline and add travis 2017-06-25 19:49:07 -04:00
Calvin Rose c3d65cb91d Remove lots of headers. Add parse c function. 2017-06-24 14:27:29 -04:00
Calvin Rose 70478a410b Add errorParent to threads. 2017-06-19 23:01:34 -04:00
Calvin Rose 6246c43e22 Fix integer division by 0 error. 2017-05-08 12:08:48 -04:00
Calvin Rose 7b83247c07 Add vararg support to compiler. Seems to be leak in parser. 2017-05-06 17:46:28 -04:00
Calvin Rose d47ee18b1a Fix gc mark function in compiler.
GNU readline is not valgrind clean or it
is being used incorrectly.
2017-05-05 23:33:36 -04:00
Calvin Rose bf2c16ccb0 Flesh out support for userdata
Add file reading via file objects.
Finalizer option for userdata.
2017-04-26 10:22:16 -04:00
Calvin Rose 5845434529 Add readline to repl for better experience 2017-04-19 12:56:29 -04:00
Calvin Rose baa3544ca0 Readd the repl. 2017-04-17 22:14:35 -04:00
Calvin Rose 6e71984fc5 Add wrapping functions for easy conversion between c api and
internal values.
2017-04-17 18:46:28 -04:00
Calvin Rose f52e290206 Allow parser to parse files rather than just a repl. I think
there are some memory leak issues (problems with gc).
2017-04-17 00:15:18 -04:00
Calvin Rose e90b66af58 Add struct type. 2017-04-15 16:05:59 -04:00
Calvin Rose e28e31f818 Begin implementing module system. 2017-04-12 21:21:46 -04:00
Calvin Rose 6365a007b6 More work on cleaning up string implementation. 2017-03-22 18:35:54 -04:00
Calvin Rose 841ee3696d Add cache for strings. 2017-03-22 00:27:18 -04:00
Calvin Rose f6e26d9893 Work on serialization. Move clibs into core. 2017-03-20 23:06:38 -04:00
Calvin Rose 9856142fef Refactor code. Separate code into different modules to
separate the minimum runtime from auxiliary functions.
Change makefile to allow building static libraries.
2017-03-15 20:56:37 -04:00