1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-18 22:54:49 +00:00
Commit Graph

48 Commits

Author SHA1 Message Date
bakpakin
d373d38aee Add context functions for more uniform interface 2018-01-16 23:18:45 -05:00
bakpakin
6df88f225f More work on c library interface and io library. 2018-01-15 20:14:54 -05:00
bakpakin
f5b29b85ba Support question mark in symbol. 2018-01-14 10:17:18 -05:00
bakpakin
94a4970053 Add underscore to repl 2018-01-13 10:34:59 -05:00
bakpakin
59bed71a2c Make some unit tests pass. Fix transfer to new fiber. 2018-01-12 16:25:24 -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
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
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
8c20b7229a Refactor module and env code into separate files. 2017-07-12 14:47:09 -04:00
bakpakin
6a8ec0c895 Add -env- to repl. 2017-07-09 16:44:45 -04:00
bakpakin
53cead0bab Remove vm crash return and use error instead. 2017-07-09 16:15:44 -04:00
bakpakin
1878ece2af Make compilation simpler. 2017-07-09 15:35:17 -04:00
bakpakin
961275116f Add symbol function 2017-07-03 11:22:23 -04:00
bakpakin
0cf278994d Make coloring changes to the repl 2017-07-02 20:51:52 -04:00
bakpakin
e2c78b36d0 Add symbol type. 2017-07-02 17:17:24 -04:00
bakpakin
7a9e991c41 Add color options to repl. 2017-07-02 14:42:30 -04:00
bakpakin
2742e3679d Change name of debugp to description. Use it
the repl for easier inspection of structures.
2017-07-02 11:53:51 -04:00
bakpakin
4a131fe47e Add some command line options to the client program. 2017-07-01 22:34:31 -04:00
bakpakin
3481ee5747 Whitespace 2017-07-01 21:51:16 -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
b23fc136dd Remove readline and add travis 2017-06-25 19:49:07 -04:00
Calvin Rose
29a39c47b0 Add var and def. Make them behave the same
but have different implementations in top
level scope in order to enable incremental compilation and repl.
2017-06-25 16:36:20 -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
a382c62db8 Make some changes to README.md with things to do. 2017-06-10 17:44:02 -04:00
Calvin Rose
6d3e3d8246 Remove faulty quoting logic in parser. 2017-05-07 18:20:11 -04:00
Calvin Rose
96a605fbc0 Fix variadic functions. 2017-05-07 16:48:35 -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
6adc2a5268 More work on compiler. Start defining more dynamic
module system than originally planned.
2017-05-06 13:04:36 -04:00
Calvin Rose
f817610d4a More work on compiler. Still has memory leak? 2017-05-05 16:52:05 -04:00
Calvin Rose
c6e9f24f82 Complete adding parser to scripting. 2017-05-03 19:59:27 -04:00
Calvin Rose
78cdf4b184 Add stdi and stdout to file io. 2017-04-30 11:15:44 -04:00
Calvin Rose
81987dca45 More work. 2017-04-24 13:12:55 -04:00
Calvin Rose
5845434529 Add readline to repl for better experience 2017-04-19 12:56:29 -04:00
Calvin Rose
01e8749f39 Redo function call bytecode interface to be simpler and allow
for an apply like structure in the language
2017-04-19 09:02:12 -04:00
Calvin Rose
f4a6f4073f Rename some fuctions in util. 2017-04-18 16:55:03 -04:00
Calvin Rose
ea432242d3 Add license header to all source files. 2017-04-17 22:40:39 -04:00
Calvin Rose
7a2ec82daf License 2017-04-17 22:36:44 -04:00
Calvin Rose
baa3544ca0 Readd the repl. 2017-04-17 22:14:35 -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
20bb5a18f7 Remove symbol type in favor of only strings. Anticipate
addition of struct type, which will be an immutable hashtable.
2017-04-14 13:41:32 -04:00
Calvin Rose
e28e31f818 Begin implementing module system. 2017-04-12 21:21:46 -04:00
Calvin Rose
ac50f6232e More work on cleaing up code. 2017-03-26 11:47:58 -04:00
Calvin Rose
841ee3696d Add cache for strings. 2017-03-22 00:27:18 -04:00
Calvin Rose
4c35ee0a2c Add first class symbol type. 2017-03-19 17:29:25 -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