aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorLines
2019-06-20Verify working meson build on windows.meson-onlyCalvin Rose-8/+8
Using MSVC, no need for GNU tools.
2019-06-20Start working to a full meson build.Calvin Rose-12/+68
One build system instead of three for Make + Meson + build_win.bat.
2019-06-20Add janet_abstract_begin and janet_abstract_endCalvin Rose-3/+19
This will allow some one constructing an abstract to only make it visible to the garbage collector after it is in a valid state. If code in the constructing cfunction panics before janet_abstract_end is called, the GC will not try to mark the incomplete abstract type. This is often not needed through careful programming, but should work well.
2019-06-20Be more complete with JANET_NO_SOURCEMAPSCalvin Rose-3/+9
This actually removed sourcemaps, not just the top level annotation in bindings.
2019-06-19Add some fixes for serializing complex grammars.Calvin Rose-17/+124
2019-06-19Change -c option to use dofile instead of requireCalvin Rose-1/+1
2019-06-19Load jimage files before janet source files.Calvin Rose-3/+3
This should allow precompiled files to be placed right next to the source files in the file system with the expected behavior.
2019-06-19Flatten environment binding tables.Calvin Rose-6/+2
For some reason, these tables used prototypes. There seems to be no need for this.
2019-06-19Update CHANGELOG.mdCalvin Rose-0/+3
2019-06-19Add options to not include docstrings in binary.Calvin Rose-0/+38
This lets us build a smaller binary. The minimal tested binary on x86-64 (with -Os, -s, and all options that shrink binary size turned on) is about 240 kB.
2019-06-19Add some test cases for module/expand-pathCalvin Rose-0/+10
2019-06-19Fix doc generation.Calvin Rose-0/+1
2019-06-19Appease MSVCCalvin Rose-4/+6
2019-06-19Update module/paths for saner defaults.Calvin Rose-8/+10
Relative imports will only check the paths directly concerning relative imports.
2019-06-19Update cook.janet and jpmCalvin Rose-12/+10
They should throw better error messages when project.janet not found.
2019-06-19Change default module/path.Calvin Rose-11/+6
Disallow loading directly with extension to be more consistent and keep things simpler.
2019-06-18Update module system.Calvin Rose-57/+184
Add relative imports and path normalization. This should help towards a more composable build/dependency system.
2019-06-18Update changelog.Calvin Rose-0/+1
2019-06-18Add bytecode verification for peg unmarshaling.Calvin Rose-4/+140
2019-06-18Fix windows getline.Calvin Rose-1/+1
2019-06-17One more MSVC warning.Calvin Rose-2/+2
2019-06-17Silence some windows build warnings.Calvin Rose-8/+8
2019-06-17Allow marshaling pegs.Calvin Rose-10/+55
2019-06-17Update changelog.Calvin Rose-0/+4
2019-06-15Inline yield when called with no arguments.Calvin Rose-2/+10
It was already inline when called with one argument.
2019-06-15Reformat capi.cCalvin Rose-1/+1
2019-06-15Merge pull request #124 from ALSchwalm/parse-stateCalvin Rose-26/+157
Add support for getting more detailed parser state
2019-06-15Add support for getting more detailed parser stateAdam Schwalm-26/+157
2019-06-13Update cook to take headers for natives.Calvin Rose-1/+6
This should help incremental building.
2019-06-12Add keyword flag utility for modules.Calvin Rose-30/+31
2019-06-10Add some string/check-set tests.Calvin Rose-0/+7
2019-06-10Fix string/check-set.Calvin Rose-12/+7
Also change external unification identifier in match macro to @. This means we can more easily match symbol literals.
2019-06-09Fix defn docstring typo.Calvin Rose-1/+1
2019-06-08Update changelog.Calvin Rose-0/+3
2019-06-08Add parser/clone. (#120)Calvin Rose-2/+72
2019-06-08Add more dynamic bindings for printing.Calvin Rose-12/+19
2019-06-08Update docstring format.Calvin Rose-53/+62
Also add :p flag to fiber/new, change implemntation of with-dyns, and make meson build install static library by default.
2019-06-08Follow meson guidlines for static/shared libsCalvin Rose-9/+2
Use only one library definition for faster builds.
2019-06-07Add static library to meson build.Calvin Rose-1/+8
2019-06-07Add janet_dep to meson build file.Calvin Rose-0/+4
2019-06-07Merge pull request #123 from andrewchambers/stdlibfdCalvin Rose-0/+50
Add file/{fdopen,fileno} functions.
2019-06-08Add file/{fdopen,fileno} functions.Andrew Chambers-0/+50
2019-06-05Tables created via table_init cannot leak memory.Calvin Rose-12/+45
Before, if Janet paniced without calling table_deinit on a table created via table_init, Janet leaked memory. This changes tables so that tables created via table_init us scratch memory for auto cleanup instead of normal malloc/free.
2019-06-05Remove array_init and array_deinitCalvin Rose-32/+17
These functions made it very easy to create memory leaks, and are better replaced with functions in vector.h or simply using non-stack allocated arrays.
2019-06-05Update tm_language_gen.Calvin Rose-16/+19
2019-06-04Add b_lundef=false for meson build.Calvin Rose-1/+2
2019-06-03Update CHANGELOG.mdCalvin Rose-0/+2
2019-06-03Add optional argument to parser/where to set index.Calvin Rose-5/+11
DSLs that use the parser API can use this to more accurately report source location.
2019-06-02Fix redefinition.Calvin Rose-6/+3
2019-06-02Expose signal, type, and status name arrays.Calvin Rose-0/+3
Makes it easier to print status stuff.