1
0
mirror of https://github.com/janet-lang/janet synced 2025-03-01 14:10:01 +00:00

Commit Graph

  • c76b08cecc Add destructuring in def and var statements for tables and structs. Calvin Rose 2018-02-06 02:02:28 -05:00
  • ddee7f55e3 Add initial destructuring support for sequential types. Calvin Rose 2018-02-06 01:25:48 -05:00
  • 4971ef58d2 Add fseek. Calvin Rose 2018-02-04 12:58:40 -05:00
  • 4b89789f69 Add all and line option to file-read Calvin Rose 2018-02-04 00:54:38 -05:00
  • f3b2c29580 Add pretty print to build in. Calvin Rose 2018-02-03 18:12:07 -05:00
  • a673b7e326 Fix small compiler bug Calvin Rose 2018-02-03 17:22:04 -05:00
  • 35ddc70888 Move ast into parser. Map keywords to symbols instead of strings. Calvin Rose 2018-02-03 13:55:55 -05:00
  • 905ed9f871 Remove vim scripts to new repo. Ignore Release and Debug Calvin Rose 2018-02-02 21:01:13 -05:00
  • 278769f2bb Fix compiler warnings with GCC. Calvin Rose 2018-02-02 17:14:27 -05:00
  • b6d90ed765 Fix link on appveyor sticker Calvin Rose 2018-02-01 21:13:02 -08:00
  • 03b0684cc4 Add appveyor badge to README.md Calvin Rose 2018-02-01 21:10:47 -08:00
  • 844a19abed Remove x86 target in appveyor.yml becuase its not valid Calvin Rose 2018-02-01 21:05:23 -08:00
  • ddaa2b48fc Change appveyor targets Calvin Rose 2018-02-01 21:01:11 -08:00
  • 4850de5e3c No Tabs? Calvin Rose 2018-02-01 20:56:35 -08:00
  • c79474ae00 Change appveyor.yml Calvin Rose 2018-02-01 20:53:25 -08:00
  • fad777d019 Add an appveyor.yml Calvin Rose 2018-02-01 20:43:37 -08:00
  • ccdf758e83 Get dst to compile on windows Calvin Rose 2018-02-01 17:09:22 -08:00
  • 776addfc07 Fix install procedure bakpakin 2018-01-31 22:53:31 -05:00
  • ff46522dd9 Assert computed gotos work on clang bakpakin 2018-01-31 21:47:18 -05:00
  • 1bf0b538cd Use computed goto in vm for GCC bakpakin 2018-01-31 21:40:19 -05:00
  • a6694e985c Add a few more ast functions. bakpakin 2018-01-31 17:56:10 -05:00
  • e9c4d388c9 Ignore one ulp errors in printing reals. bakpakin 2018-01-31 17:47:59 -05:00
  • 50bfa8de3f Add boot script which is loaded on start up. bakpakin 2018-01-31 17:39:18 -05:00
  • 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. bakpakin 2018-01-29 23:38:49 -05:00
  • ce5708af98 Switch over to Cmake fully. bakpakin 2018-01-29 15:46:26 -05:00
  • b305a7c9bb Add macros in compiler. bakpakin 2018-01-28 15:29:47 -05:00
  • 8fe9881187 More work on adding c functions. Added buffer literals again. bakpakin 2018-01-27 15:15:09 -05:00
  • a15f62e4b2 Update README.md bakpakin 2018-01-25 19:22:17 -05:00
  • 2bd20c3cb3 Addition and subtraction inlining. bakpakin 2018-01-25 18:48:12 -05:00
  • 5460ff19bf Begin C Function specialization in the compiler. bakpakin 2018-01-24 17:59:00 -05:00
  • aa68ef49f1 Remove transfer as a compiler special. Eventually rely on function inlining for efficiency. bakpakin 2018-01-21 17:29:48 -05:00
  • 26c8145893 Move ast to core. Add symbol function to stl. bakpakin 2018-01-21 17:08:11 -05:00
  • 42a88de9e7 Add quick asm for adding apply and error to the stl. bakpakin 2018-01-21 16:41:15 -05:00
  • 911b0b15e8 Fix some bugs with inner closures. bakpakin 2018-01-21 14:39:32 -05:00
  • d68eae9592 Add bytecode verification bakpakin 2018-01-20 17:19:47 -05:00
  • 065c4cfac1 Gitignore was ignore files. bakpakin 2018-01-20 11:04:30 -05:00
  • 1c529f3bb0 Oh travis bakpakin 2018-01-20 10:57:01 -05:00
  • 1d03316bee messing with cmake bakpakin 2018-01-20 10:39:32 -05:00
  • 30f62ca454 Major refactor and restructure. Add CMake for anticipated windows support. bakpakin 2018-01-19 16:43:19 -05:00
  • acb706ca3a Add self reference in closures without having to use vars. bakpakin 2018-01-19 12:37:37 -05:00
  • 0531866954 Redo parser as a FSM. Again. bakpakin 2018-01-18 17:25:45 -05:00
  • 8e6ed707e7 Make buffers print their contents. bakpakin 2018-01-17 11:36:10 -05:00
  • 5d5d88c5ad Add some more functions to stl. Fix integer hashing (doh). bakpakin 2018-01-17 09:58:32 -05:00
  • d373d38aee Add context functions for more uniform interface bakpakin 2018-01-16 23:18:45 -05:00
  • 23196ff6a2 Fix scope issue in compiler. bakpakin 2018-01-15 23:31:39 -05:00
  • 6df88f225f More work on c library interface and io library. bakpakin 2018-01-15 20:14:21 -05:00
  • 3262316e60 Factor CFunction args into struct. bakpakin 2018-01-14 12:10:45 -05:00
  • 9291a4faf0 Make suit0 fully functional by adding push functoin to stl bakpakin 2018-01-14 10:23:24 -05:00
  • f5b29b85ba Support question mark in symbol. bakpakin 2018-01-14 10:17:18 -05:00
  • 53c0d5757c Add untested code for loading dlls on windows. bakpakin 2018-01-14 09:58:35 -05:00
  • 4197f918a0 Preliminary support for loading c libraries. bakpakin 2018-01-13 23:38:58 -05:00
  • 5ec05136c7 Add metadata to global defs. bakpakin 2018-01-13 16:14:40 -05:00
  • d9f24effac Fix compiler errors with upvalues. bakpakin 2018-01-13 14:08:42 -05:00
  • 94a4970053 Add underscore to repl bakpakin 2018-01-13 10:34:59 -05:00
  • 921f087c96 Remove useless file. bakpakin 2018-01-12 19:23:36 -05:00
  • 60b8f436f0 Proper order for libraries in Makefile. bakpakin 2018-01-12 17:42:14 -05:00
  • efb5f19d27 Fix gcc errors bakpakin 2018-01-12 17:38:06 -05:00
  • 6679fb299f add -lm flag bakpakin 2018-01-12 17:33:56 -05:00
  • 59bed71a2c Make some unit tests pass. Fix transfer to new fiber. bakpakin 2018-01-12 16:25:24 -05:00
  • f8174f192c Fix some vararg behavior in tail calls. bakpakin 2018-01-12 13:54:37 -05:00
  • 204caa6d8f Factor out language specials to separate files in compiler. Add transfer special. */ bakpakin 2018-01-12 10:41:27 -05:00
  • c1fa521b58 Add buffer overflow detection to the buffer class when the inherent 2GB limit is reached for a single buffer. bakpakin 2018-01-06 13:25:45 -05:00
  • 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. bakpakin 2018-01-06 11:09:15 -05:00
  • 2771171658 Much work on compiler. Fixing bugs and gradually cleaning up code. Generalized some vector code. bakpakin 2018-01-05 16:17:55 -05:00
  • e4735e14d2 More compiler bug fixes. Added some features and functions like varargs. bakpakin 2018-01-03 21:36:10 -05:00
  • f273aa8b1b Add vars, split up headers, remove fiber->ret, add comparators, etc. bakpakin 2017-12-30 16:46:59 -05:00
  • 34a83839f5 Add utf-8 compatibility in parser. Symbols can be valid utf-8 strings bakpakin 2017-12-20 23:03:34 -05:00
  • 8eea6e2a70 minor changes. bakpakin 2017-12-16 23:36:21 -05:00
  • 01a95426b3 More work on compiler. Add compiler unit test that currently segfaults alot. Added dst_disasm to reconstruct dsts assembly from a funcdef. bakpakin 2017-12-16 23:11:51 -05:00
  • 2d781ef21b Compiler is coming along. Work on Slot system and general compiler strategy. bakpakin 2017-12-16 01:17:53 -05:00
  • 1293d2e301 Initial rewrite of compiler bakpakin 2017-12-14 19:33:45 -05:00
  • a2ee6ffe5c New custom strtod implementation. bakpakin 2017-12-08 15:57:02 -05:00
  • 592e9495e4 Merge branch 'alpha' of https://github.com/bakpakin/gst into alpha bakpakin 2017-12-03 12:52:36 -05:00
  • 14fe30b411 Add preliminary source mapping to parser (always on) bakpakin 2017-12-03 12:52:09 -05:00
  • 114dda8294 Catch unitialized value valgrind error. Probably has no effect, but fixed to shut up valgrind. Calvin Rose 2017-11-29 15:33:27 -05:00
  • eceb6e5a77 More work on nanbox implementation. Calvin Rose 2017-11-29 15:17:56 -05:00
  • b568a6bc88 WIP integrating nanbox support back into code. Calvin Rose 2017-11-28 18:27:55 -05:00
  • 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. Calvin Rose 2017-11-27 14:03:34 -05:00
  • 9f910d9ab7 Add missing header file. bakpakin 2017-11-26 20:25:20 -05:00
  • baa4e20b79 Some more changes to the nanbox_test bakpakin 2017-11-26 20:20:30 -05:00
  • 68f5ea4361 Add test nanbox implementation. Works for 32 bit and 64 bit x86 bakpakin 2017-11-26 19:31:40 -05:00
  • 412d40d09f Work on interpreter. adding more opcodes and syscalls. bakpakin 2017-11-24 23:17:04 -05:00
  • 6ca6949c2d Getting more work done on assembler, parer, and unit tests. bakpakin 2017-11-20 21:39:44 -05:00
  • 9a858d5a97 Adding some more unit tests for various components. bakpakin 2017-11-06 09:44:10 -05:00
  • f6dcb07c8d More work. Too many changes to be listed. bakpakin 2017-11-05 22:05:47 -05:00
  • a2ee028bd5 WIP bakpakin 2017-11-01 17:53:43 -04:00
  • 3efd400025 Huge number of changes. Still WIP. Refactoring and changing C API model. This commit is not i a working state. bakpakin 2017-09-09 14:39:51 -04:00
  • 3ccd688438 Add gensym bakpakin 2017-07-16 11:00:20 -04:00
  • 9187d4c1e2 Create xxd clone for build time gst scripts. bakpakin 2017-07-15 23:07:12 -04:00
  • a39a6fd97f More work on bootstrapping code. Have working macro expansion. bakpakin 2017-07-15 16:56:03 -04:00
  • f0545865a8 More corrections to varargs. bakpakin 2017-07-15 12:32:24 -04:00
  • 57886db410 Making some changes. bakpakin 2017-07-15 12:21:06 -04:00
  • 8c20b7229a Refactor module and env code into separate files. bakpakin 2017-07-12 14:47:09 -04:00
  • 6a8ec0c895 Add -env- to repl. bakpakin 2017-07-09 16:44:45 -04:00
  • 53cead0bab Remove vm crash return and use error instead. bakpakin 2017-07-09 16:15:44 -04:00
  • de9d7bcfdc Update representation of an environment. bakpakin 2017-07-09 16:10:47 -04:00
  • 1878ece2af Make compilation simpler. bakpakin 2017-07-09 15:35:17 -04:00
  • 8810c65f00 Remove old namespace functions from stl. bakpakin 2017-07-09 15:14:18 -04:00
  • 891c550980 Invert recursion guard to count down instead of up. bakpakin 2017-07-09 13:31:30 -04:00
  • b19c834cf4 Change comment in gst.h bakpakin 2017-07-09 13:24:38 -04:00