1
0
mirror of https://github.com/janet-lang/janet synced 2026-05-31 17:52:15 +00:00
Commit Graph

438 Commits

Author SHA1 Message Date
Calvin Rose 52492282f2 Case tests. 2018-07-04 01:32:26 -04:00
Calvin Rose f28172a996 Replace switch with case. 2018-07-04 01:28:31 -04:00
Calvin Rose 1f37919f39 Rename boot.dst to core.dst 2018-07-04 00:21:18 -04:00
Calvin Rose 0ee17b15f1 Reenable cmake build. 2018-07-03 23:19:16 -04:00
Calvin Rose a018f9f54a Major refactor. Move files around, merge compiler into
core and other changes, work on inlining many c functions.
2018-07-03 23:07:35 -04:00
Calvin Rose 17685bd789 Refactor opereduce in cfuns.c 2018-07-02 19:53:35 -04:00
Calvin Rose 5e2de33ae7 Remove some c functions in favor of bytecode. 2018-07-02 00:12:36 -04:00
Calvin Rose e60c8a9b75 Update indentation in boot and init to be more like
most lisps.
2018-07-01 21:12:46 -04:00
Calvin Rose 79225ad3d5 Add some inlining for a few builtins. 2018-07-01 19:35:45 -04:00
Calvin Rose f1e1b89c67 Merge updates. 2018-07-01 15:56:17 -04:00
Calvin Rose 6822400abe Fix large function compilation issue. 2018-07-01 15:53:57 -04:00
Calvin Rose 0bbf7d57b0 Small changes to boot.dst. 2018-07-01 12:44:41 -04:00
Calvin Rose f4fc4a0bcc Modularize compiler. 2018-07-01 11:52:15 -04:00
Calvin Rose fde9751eab Move asm into core and rename to asm/disasm (no prefix) 2018-06-29 22:52:55 -04:00
Calvin Rose 1ea9ebf04f Fix sourcemapping bug with closures, add some library functions
to boot.dst
2018-06-29 19:44:33 -04:00
Calvin Rose 11ced5b582 Update macroexpand. 2018-06-29 17:42:00 -04:00
Calvin Rose 8697ca976a Remove unused var byteindex. 2018-06-29 13:49:17 -04:00
Calvin Rose 33862e2e7b Be more specific about location of compile error (we only know the innermost tuple). 2018-06-29 13:13:13 -04:00
Calvin Rose 5afde3f6d4 Add line numbers to repl like irb. 2018-06-29 13:01:23 -04:00
Calvin Rose 28cf753fa2 Source mapping v4 (line and column instead of byte offsets). 2018-06-29 11:13:06 -04:00
Calvin Rose f93c84c21f Source mapping v3 (performance improvements, better decoupling from parser). 2018-06-29 10:41:26 -04:00
Calvin Rose cac39aba67 Merge branch 'master' of github.com:bakpakin/dst 2018-06-29 01:20:14 -04:00
Calvin Rose 09aff10ff2 Remove a few refs to old emscripten files. 2018-06-29 01:18:40 -04:00
Calvin Rose 2e472ec9a3 Version 2 of new source mapping. 2018-06-29 01:16:46 -04:00
Calvin Rose bb406133de New sourcemaps v1. 2018-06-28 23:37:04 -04:00
Calvin Rose b47b35587d Don't run ldconfig when installing on osx. 2018-06-26 14:10:17 -04:00
Calvin Rose 9d94ffe85d Spelling. 2018-06-26 14:06:38 -04:00
Calvin Rose 90b685f8f4 Fix getline not being pretty printed properly. 2018-06-26 13:57:49 -04:00
Calvin Rose 9805bfb635 Fix file.read to handle popen'ed files better (allow read with :all). 2018-06-26 09:37:34 -04:00
bakpakin 23dcfb986e Allow expressions as keys in destructuring. 2018-06-25 15:34:06 -04:00
Calvin Rose 5e9d1d07b9 Better refresh after coming back from suspend. 2018-06-24 13:20:32 -04:00
Calvin Rose ceff49a08d Enable suspending repl with ctrl-z. 2018-06-24 13:18:44 -04:00
Calvin Rose 6e45b96644 Remove direct interaction with prepared statements from sql. 2018-06-24 10:54:42 -04:00
Calvin Rose 63eff235b0 Fix int64 coerce bug in sqlite3 binding. 2018-06-24 08:46:16 -04:00
Calvin Rose 4e6fc341dc Many updates to the sqlite module. 2018-06-23 19:19:26 -04:00
Calvin Rose 363a17ff8c Convert get, put and length to normal functions, not c functions. 2018-06-17 13:55:02 -04:00
Calvin Rose 0cf10946b0 Add first version of marsh (marshaling). 2018-06-12 14:24:45 -04:00
Calvin Rose f0f5af24c2 Add some debug information to more builtin functions. 2018-06-09 20:41:02 -04:00
Calvin Rose 2a87dada47 Rename fiber.resume and fiber.yield to
resume and yield.
2018-06-09 13:08:30 -04:00
bakpakin eba6242978 Update CMakeLists.txt for tests. 2018-06-08 16:54:08 -04:00
bakpakin 1690fee446 Add failure on top level error. 2018-06-08 15:58:23 -04:00
Calvin Rose 6d1ab414e4 Add frequencies to core library. 2018-06-03 14:21:24 -04:00
Calvin Rose 63baa52392 Add fiber.maxstack and fiber.setmaxstack to core library 2018-06-03 14:00:05 -04:00
Calvin Rose b5ed4a875f Change some definitions and remove thoughts.md 2018-06-02 19:16:13 -04:00
Calvin Rose 3b30b98ec0 Add sum and product functions to boot.dst. 2018-05-26 14:21:49 -04:00
Calvin Rose 8a346ec655 Add option to cli interface to stop scanning options. 2018-05-26 14:17:44 -04:00
Calvin Rose 4dc51915a9 Make loop macro more expressive 2018-05-26 13:46:27 -04:00
Calvin Rose 8bcb5e0019 Add where clause to list comprehension. 2018-05-23 23:43:48 -04:00
Calvin Rose b09bf72490 Change primary looping macro to 'loop' instead of 'for'. 2018-05-23 22:08:36 -04:00
Calvin Rose 644219a8a5 Update natives makefile. 2018-05-22 20:45:52 -04:00