Calvin Rose
b84b0e4828
Expose more of the module system.
...
The system path can more easily modified at runtime,
and the module/cache and module/loading tables are now exposed.
Properly cache native modules as well.
2019-01-18 12:04:34 -05:00
Calvin Rose
c4114fbcdb
Add quote special to peg syntax to make captures terser.
2019-01-17 19:28:42 -05:00
Calvin Rose
95f2bbe0a0
Add highlight.janet tool which can highlight
...
janet source code and output html or terminal escaped code.
Also made re entrant calls into the vm provide better
error messages.
2019-01-17 18:12:26 -05:00
Calvin Rose
2c1b506213
Add tagged captures for a better (more correct) form of look behind.
2019-01-16 22:38:11 -05:00
Calvin Rose
612a245961
More work on peg. Disable indexed backrefs and replace substitution
...
with accumulation.
2019-01-16 21:11:55 -05:00
Calvin Rose
d0fc29338c
Add error special form in Peg to allow construction of grammar errors
...
for more useful grammars that could eventually be used in a compiler.
2019-01-15 16:04:47 -05:00
Calvin Rose
4eeadd7463
Add optional form to peg (shorthand for (between 0 1 patt)).
2019-01-15 14:08:03 -05:00
Calvin Rose
f0fcdf6bc5
Update Peg.md text
2019-01-15 11:09:22 -05:00
Calvin Rose
2a333f8359
Add simple pattern examples to peg
doc.
2019-01-15 11:05:51 -05:00
Calvin Rose
0dd867d508
Fix markup.
2019-01-14 22:33:33 -05:00
Calvin Rose
e3f902cb8a
Update docs.
2019-01-14 22:31:57 -05:00
Calvin Rose
c651b6f67c
Fix peg doc table.
2019-01-14 22:18:51 -05:00
Calvin Rose
3a9b50ea4a
Update peg doc and remame some peg specials.
2019-01-14 22:17:13 -05:00
Calvin Rose
1304f9263b
Update peg docs and make bad backrefs not error the whole pattern, but just cause the current match attempt to fail.
2019-01-14 21:47:55 -05:00
Calvin Rose
90313afd40
Update PEG documentation and peg syntax.
...
Disable tail calls in the root scope for better
stacktraces, as the root scope may contain a single call
to a failing function, as in the case of the test suite.
2019-01-14 20:41:32 -05:00
Calvin Rose
170e785b72
Fix recursion in grammars.
2019-01-14 15:06:35 -05:00
Calvin Rose
6f3bc3d577
Update copyright date, fix types, remove trailing whitespace.
2019-01-06 03:23:03 -05:00
Calvin Rose
5fa96a6f8c
Add documentation on all of the special forms.
2019-01-03 17:16:34 -05:00
Calvin Rose
6afaacf2af
Update documentation on keywords.
2019-01-02 19:46:24 -05:00
Calvin Rose
7c4671d98f
Update loop documentation.
2018-12-29 17:42:44 -05:00
Calvin Rose
7880d73201
Add some documentation for looping and the loop macro.
...
Also add :pairs verb to the loop macro and some more tests.
2018-12-29 17:23:31 -05:00
Calvin Rose
59f6c335ad
Update documentation to remove references of integers and real numbers.
...
Now there is only one kind of number.
2018-12-27 13:13:02 -05:00
Calvin Rose
017ee2b0d1
Move gendoc.janet script.
2018-12-25 17:37:52 -05:00
Calvin Rose
a7933f5f08
Move janet natives to new repos.
2018-12-25 17:33:35 -05:00
Calvin Rose
77ea11c603
Update documentation to include source
...
location of bindings.
2018-12-17 12:06:50 -05:00
Calvin Rose
003472354d
Update documentation.
2018-12-17 01:57:09 -05:00
Calvin Rose
131ee29190
Add docs target to generate documentation.
2018-12-17 01:41:11 -05:00
Calvin Rose
05a957c524
Finish removing old bitwise notations.
2018-12-16 22:21:48 -05:00
Calvin Rose
03dbd79165
Rename the := special form to set so it does not look like a keyword.
2018-12-16 21:57:32 -05:00
Calvin Rose
8333c22e8a
Update gendoc and fix issue with run-context.
2018-12-16 13:17:30 -05:00
Calvin Rose
8a5ede21f7
Fix some documentation and add beginning of a document
...
generating script.
2018-12-15 23:19:28 -05:00
Calvin Rose
a412eecd36
Add parser documentation.
2018-12-15 20:14:34 -05:00
Calvin Rose
24b9ae7820
Add doc files to distribution archives.
2018-12-15 15:42:27 -05:00
Calvin Rose
7484a396ac
md formatting issue.
2018-12-15 15:34:38 -05:00
Calvin Rose
79184ab05d
Move documentation from wiki into repo.
2018-12-15 15:32:08 -05:00
Calvin Rose
c2199646be
Move doc to wiki.
2018-05-18 21:31:46 -04:00
Calvin Rose
c0e373f420
Add some test code and fix sqlite3 native example.
2018-05-17 13:34:11 -04:00
Calvin Rose
0fd9224e4a
Proper re-entry into debug state nested fibers.
2018-05-16 09:24:34 -04:00
Calvin Rose
932a0324ee
More work on renaming functions. Change long string syntax to use
...
backticks. Allow custom masks in fibers for custom error and debug
handling.
2018-05-09 17:01:58 -04:00
Calvin Rose
8fd8b1126b
Add more to intro.md
2018-05-07 17:22:46 -04:00
Calvin Rose
0cd6cdc28b
Add some more opcodes for comparison with numeric types.
2018-05-07 12:34:04 -04:00
Calvin Rose
b31791200b
Add long string syntax to dst.
2018-05-06 13:28:09 -04:00
Calvin Rose
1205ca5cad
Add beginning of intorductory doc. Add prototypes to pretty print
...
output.
2018-04-30 17:05:42 -04:00
Calvin Rose
507f9f9c57
Make global state thread local. This means multiple threads
...
of dst can run, but cannot yet share state.
2018-03-30 16:12:30 -04:00
Calvin Rose
9dabc6bee3
Update assembly doc.
2018-03-30 12:17:03 -04:00
Calvin Rose
077c345434
Add preliminary bytecode docs.
2018-03-29 13:26:19 -04:00