1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-26 00:10:27 +00:00
Commit Graph

238 Commits

Author SHA1 Message Date
Calvin Rose
a673b7e326 Fix small compiler bug 2018-02-03 17:22:04 -05:00
Calvin Rose
35ddc70888 Move ast into parser. Map keywords to symbols instead of
strings.
2018-02-03 13:55:55 -05:00
Calvin Rose
905ed9f871 Remove vim scripts to new repo. Ignore Release and Debug 2018-02-02 21:01:25 -05:00
Calvin Rose
278769f2bb Fix compiler warnings with GCC. 2018-02-02 17:26:20 -05:00
Calvin Rose
b6d90ed765 Fix link on appveyor sticker 2018-02-01 21:13:02 -08:00
Calvin Rose
03b0684cc4 Add appveyor badge to README.md 2018-02-01 21:10:47 -08:00
Calvin Rose
844a19abed Remove x86 target in appveyor.yml becuase its not valid 2018-02-01 21:05:23 -08:00
Calvin Rose
ddaa2b48fc Change appveyor targets 2018-02-01 21:01:11 -08:00
Calvin Rose
4850de5e3c No Tabs? 2018-02-01 20:56:35 -08:00
Calvin Rose
c79474ae00 Change appveyor.yml 2018-02-01 20:53:25 -08:00
Calvin Rose
fad777d019 Add an appveyor.yml 2018-02-01 20:43:37 -08:00
Calvin Rose
ccdf758e83 Get dst to compile on windows 2018-02-01 17:09:22 -08:00
bakpakin
776addfc07 Fix install procedure 2018-01-31 22:53:31 -05:00
bakpakin
ff46522dd9 Assert computed gotos work on clang 2018-01-31 21:47:18 -05:00
bakpakin
1bf0b538cd Use computed goto in vm for GCC 2018-01-31 21:40:19 -05:00
bakpakin
a6694e985c Add a few more ast functions. 2018-01-31 17:56:10 -05:00
bakpakin
e9c4d388c9 Ignore one ulp errors in printing reals. 2018-01-31 17:47:59 -05:00
bakpakin
50bfa8de3f Add boot script which is loaded on start up. 2018-01-31 17:39:18 -05:00
bakpakin
4f74d57359 Refactor stl to corelib and stl. Corelib is part of vm, stl
is part of dst language. Add bootstrapping code directly into stl.
Stl is now logically grouped with compiler.
2018-01-29 23:38:49 -05:00
bakpakin
ce5708af98 Switch over to Cmake fully. 2018-01-29 15:46:26 -05:00
bakpakin
b305a7c9bb Add macros in compiler. 2018-01-28 15:29:47 -05:00
bakpakin
8fe9881187 More work on adding c functions. Added buffer literals again. 2018-01-27 15:15:09 -05:00
bakpakin
a15f62e4b2 Update README.md 2018-01-25 19:22:17 -05:00
bakpakin
2bd20c3cb3 Addition and subtraction inlining. 2018-01-25 18:49:08 -05:00
bakpakin
5460ff19bf Begin C Function specialization in the compiler. 2018-01-24 17:59:00 -05:00
bakpakin
aa68ef49f1 Remove transfer as a compiler special. Eventually
rely on function inlining for efficiency.
2018-01-21 17:29:48 -05:00
bakpakin
26c8145893 Move ast to core. Add symbol function to stl. 2018-01-21 17:08:11 -05:00
bakpakin
42a88de9e7 Add quick asm for adding apply and error to the stl. 2018-01-21 16:41:15 -05:00
bakpakin
911b0b15e8 Fix some bugs with inner closures. 2018-01-21 14:39:32 -05:00
bakpakin
d68eae9592 Add bytecode verification 2018-01-20 17:21:59 -05:00
bakpakin
065c4cfac1 Gitignore was ignore files. 2018-01-20 11:04:30 -05:00
bakpakin
1c529f3bb0 Oh travis 2018-01-20 10:57:01 -05:00
bakpakin
1d03316bee messing with cmake 2018-01-20 10:39:32 -05:00
bakpakin
30f62ca454 Major refactor and restructure. Add CMake for anticipated windows
support.
2018-01-19 16:43:19 -05:00
bakpakin
acb706ca3a Add self reference in closures without having to use vars. 2018-01-19 12:37:37 -05:00
bakpakin
0531866954 Redo parser as a FSM. Again. 2018-01-18 17:25:45 -05:00
bakpakin
8e6ed707e7 Make buffers print their contents. 2018-01-17 11:36:10 -05:00
bakpakin
5d5d88c5ad Add some more functions to stl. Fix integer hashing (doh). 2018-01-17 09:58:32 -05:00
bakpakin
d373d38aee Add context functions for more uniform interface 2018-01-16 23:18:45 -05:00
bakpakin
23196ff6a2 Fix scope issue in compiler. 2018-01-15 23:31:39 -05:00
bakpakin
6df88f225f More work on c library interface and io library. 2018-01-15 20:14:54 -05:00
bakpakin
3262316e60 Factor CFunction args into struct. 2018-01-14 12:10:45 -05:00
bakpakin
9291a4faf0 Make suit0 fully functional by adding push functoin to stl 2018-01-14 10:23:24 -05:00
bakpakin
f5b29b85ba Support question mark in symbol. 2018-01-14 10:17:18 -05:00
bakpakin
53c0d5757c Add untested code for loading dlls on windows. 2018-01-14 09:58:35 -05:00
bakpakin
4197f918a0 Preliminary support for loading c libraries. 2018-01-13 23:38:58 -05:00
bakpakin
5ec05136c7 Add metadata to global defs. 2018-01-13 16:14:40 -05:00
bakpakin
d9f24effac Fix compiler errors with upvalues. 2018-01-13 14:08:42 -05:00
bakpakin
94a4970053 Add underscore to repl 2018-01-13 10:34:59 -05:00
bakpakin
921f087c96 Remove useless file. 2018-01-12 19:23:36 -05:00