1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-25 01:37:19 +00:00
Commit Graph

1410 Commits

Author SHA1 Message Date
Calvin Rose
133ad0d355 Add test for longstring matcher using backmatches. 2019-08-24 19:02:55 -04:00
Calvin Rose
711fe64a51 Add backmatch operator to pegs.
(backmatch [tag?]) is similar to a back reference in regular expressions
(NOT to backwards capture in a peg). It only matches a pattern if
it exactly matches the text of the last capture. It does not consume
or push any captures to the capture stack.
2019-08-24 18:57:01 -04:00
Calvin Rose
78b5c94cb0 jpm updates.
Add better error message if no c compiler detected on windows.
2019-08-24 17:36:50 -04:00
Calvin Rose
95266bdcf8 fix git submodule update command with :p flag 2019-08-23 08:57:41 -05:00
Calvin Rose
b78879dc18 missing closing paren 2019-08-23 08:40:11 -05:00
Calvin Rose
5d29079393 Merge branch 'master' of github.com:janet-lang/janet 2019-08-23 08:35:37 -05:00
Calvin Rose
b052a57fc8 Add error message when dep fails to build. 2019-08-23 08:35:18 -05:00
Calvin Rose
292be33b9d Fix some stack overflow bugs. 2019-08-19 01:19:51 -04:00
Calvin Rose
0360942942 Add build commit hash to windows build from appveyor. 2019-08-18 21:01:47 -04:00
Calvin Rose
c35d6d2396 More batch syntax issues. 2019-08-18 20:27:26 -04:00
Calvin Rose
1c73d8ce2b Remove some parens 2019-08-18 20:19:50 -04:00
Calvin Rose
6a539df480 Make sure all appveyor artifacts get deployed 2019-08-18 20:07:12 -04:00
Calvin Rose
1de09ec149 release test 5 2019-08-18 20:02:06 -04:00
Calvin Rose
a1f785038d release-test4 2019-08-18 19:53:18 -04:00
Calvin Rose
5d475848a6 Fix appveyor.yml 2019-08-18 19:35:17 -04:00
Calvin Rose
2695f2da46 Update installer with appveyor commands. 2019-08-18 19:16:15 -04:00
Calvin Rose
3cdbf5753d Add some more artifacts to automate release. 2019-08-18 18:02:28 -04:00
Calvin Rose
daf92be5bc Better deploy test. 2019-08-18 17:54:52 -04:00
Calvin Rose
79bbb0ee1c Appveyor test2. 2019-08-18 17:05:53 -04:00
Calvin Rose
826bb1abbe Update appveyor deployment. 2019-08-18 16:54:43 -04:00
Calvin Rose
81789a6930 Add wasm to architectures returned by os/arch. 2019-08-18 10:08:52 -05:00
Calvin Rose
28fb2403d9 Add os/arch to core.
Also allow setting custom keywords for compiled
os name and architecture name.
2019-08-18 10:00:04 -05:00
Calvin Rose
1872bd344f Address #158
Use string/join to prevent stack overflow.
2019-08-18 08:41:22 -05:00
Calvin Rose
54170d92db Add some color to stacktraces in repl. 2019-08-12 19:20:01 -05:00
Calvin Rose
ec62e871dd Update to version 1.2.0. 2019-08-08 18:51:24 -05:00
Calvin Rose
4ba912cd57 Switch to 32 bit build. 2019-08-07 22:51:58 -04:00
Calvin Rose
7713674ff6 Fix appveyor.yml 2019-08-07 22:23:19 -04:00
Calvin Rose
0fce440455 See if we can use a different build of NSIS. 2019-08-07 22:19:49 -04:00
Calvin Rose
ab782d8896 Add optional default value to get.
Also update CHANGELOG.md
2019-08-06 18:12:00 -05:00
Calvin Rose
c84ddefc53
Merge pull request #156 from curist/take-and-drop
Take and drop
2019-08-06 17:35:55 -05:00
curist
5802155882 Update take/drop - while/until.
to be more consistent with take/drop
2019-08-06 15:33:55 +08:00
curist
ee8a68f7b2 Fix take/drop comments. 2019-08-06 14:25:09 +08:00
curist
61bbeebfba Update take/drop implementation.
No more preserves input type.
2019-08-06 14:19:22 +08:00
curist
18da183ef7 Add take/drop. 2019-08-06 14:00:05 +08:00
Calvin Rose
19c6714f06 Fix MSVC warnings and errors. 2019-08-05 20:19:46 -05:00
Calvin Rose
2193193b12 Improve error message on bad method calls. 2019-08-05 19:06:58 -05:00
Calvin Rose
850a2d7f79 Allow method calls on typed arrays. 2019-08-05 18:51:53 -05:00
Calvin Rose
ca5dce5d9f Address #155.
Fix bug in janet_table_clone that leaked memory.
2019-08-05 17:52:05 -05:00
Calvin Rose
40eff3e4a3
Merge pull request #153 from curist/docstring-fix
Update several docstrings.
2019-08-05 10:20:11 -05:00
curist
d334f070a3 Update several docstrings. 2019-08-05 19:58:51 +08:00
Calvin Rose
44e752d737 Add shorthand function literals to janet.
These are similar to the function literals from Clojure
(also Fennel), and should make short functions for maps, filters, etc.
easier to write.
2019-08-04 12:25:52 -05:00
Calvin Rose
5c83ebd75d Update test suites. 2019-08-03 14:56:02 -05:00
Calvin Rose
02ce3031e9 Fix comp case with arity of exactly 5. 2019-08-03 14:53:14 -05:00
Calvin Rose
2b295a5459 Exit janet if import-rules fails. 2019-08-03 14:15:45 -05:00
Calvin Rose
6caf8d3d56 Make comp create variadic functions. 2019-08-03 13:57:11 -05:00
Calvin Rose
b18f1e8127 Keep count fo allocated memory via malloc.
We normally only track memory allocated with janet_gcalloc, but
if only a few very large normal memory blocks are allocated, the GC
will never run. Se simply need to increment a count when we allocate
memory so that the next time we enter the VM, we will be able to
run a collection if needed.
2019-07-31 00:24:13 -05:00
Calvin Rose
3e67916971 Fix MSVC warning. 2019-07-28 18:44:00 -05:00
Calvin Rose
21cccc00d7 Change link order once more. 2019-07-28 18:06:55 -05:00
Calvin Rose
4809867b33 Changes to let circlet test app work.
Change cook tool linking for executables, disable
GC while constructing marhsalling codebook (mdict).
2019-07-28 17:55:37 -05:00
Calvin Rose
8bbe518696 Executables linking to natives working on linux.
This involves a bunch of machinery in cook.janet
and even a little bit in the janet C API.
2019-07-28 13:27:20 -05:00