c7087652ee
Add regression tests from wren-fuzz.
...
These are all non-crashing now, so it looks like the underlying issue
is fixed. (It was probably #429.)
Fix #442 .
2017-10-08 10:15:15 -07:00
c38d97b973
Properly detect a missing "}" in a block.
...
Fix #429 .
2017-10-08 10:03:42 -07:00
18449102e8
Parenthesize macro arguments in ALLOCATE_FLEX and ALLOCATE_ARRAY.
...
Fix #457 .
2017-10-08 09:45:06 -07:00
fec54d5021
Avoid undefined pointer difference behavior.
...
Fix #458 .
2017-10-08 09:42:35 -07:00
eba0b97aa2
Merge pull request #472 from KyleCharters/master
...
Add Num .round
2017-10-06 07:51:55 -07:00
8963a870ff
Abort all fibers along a call chain when one aborts.
2017-10-06 07:39:00 -07:00
0f19984017
Merge branch '201703_bubble_exceptions' of https://github.com/JonesAndrew/wren into JonesAndrew-201703_bubble_exceptions
2017-10-06 06:58:27 -07:00
61f5e56e93
Merge pull request #460 from skybrian/fixcomment
...
Remove obsolete comment
2017-10-05 06:51:48 -07:00
2bb531d860
Tweak Fiber.error docs.
2017-10-05 06:50:45 -07:00
84f2252c68
Add Num .round
2017-09-20 20:27:02 -04:00
16bab57056
fix #468
2017-09-16 21:38:35 -07:00
a7418d64e6
Remove obsolete comment
2017-05-29 12:02:50 -07:00
d390e16a99
Kill duplicate test.
...
Fix #438 .
2017-04-08 12:53:33 -07:00
7aa3fc1ce7
Merge pull request #435 from Nelarius/vs
...
Modernize the Visual Studio solution
2017-04-08 12:48:47 -07:00
6ccdc0cf19
Merge pull request #443 from nathanhourt/nathanhourt-typo-fixes
...
One more typo fix
2017-04-08 12:40:31 -07:00
889cae5ff1
Free imported module source strings after compiling them.
...
Fix #430 .
2017-04-08 12:38:36 -07:00
e9896544c8
Typo fix: is only be -> will only be
2017-04-04 15:29:53 -05:00
a6424e94b1
Merge pull request #440 from nathanhourt/patch-1
...
Fix typos in documentation
2017-04-04 07:07:57 -07:00
7d631276cb
Catch errors in the first try()
2017-03-30 21:57:29 -04:00
a01b8d12bd
Typo fix: askes -> asks
2017-03-30 20:20:02 -05:00
8f14bfb4b8
Fix typo in Num documentation
...
The documentation for the bitwise or operator described the behavior of the bitwise and operator.
2017-03-30 17:45:12 -05:00
21b4032fae
Remove Visual Studio 2013 solution
2017-03-28 22:06:03 +03:00
a32f54126b
Add Visual Studio 2017 solution
2017-03-28 22:05:58 +03:00
417ed7aeed
Add wren.hpp.
2017-03-25 10:05:33 -07:00
b32c445f96
Show constructing "blondie" instance in functions doc.
...
Fix #432 .
2017-03-23 21:22:07 -07:00
44a95e65c6
Set the token type after an invalid character error.
...
Otherwise, it still has the previous token's type. This can cause it
to get stuck in a loop in some places in the compiler.
Fix #428 .
2017-03-23 21:19:20 -07:00
02bcefcbe4
Add test for user data.
...
Also moved the VM parameter in the error callback to be first like it
is in other callbacks.
2017-03-22 07:26:19 -07:00
907db83e1c
Merge branch 'user-data' of https://github.com/foobit/wren into foobit-user-data
2017-03-22 07:12:26 -07:00
8d313be3ce
Make it an error to skip or take a negative count.
2017-03-15 07:22:44 -07:00
9f93119377
Merge branch 'take_and_skip' of https://github.com/bjorn/wren into bjorn-take_and_skip
2017-03-15 07:15:00 -07:00
c84b8109a4
Tweak comments.
2017-03-15 07:10:23 -07:00
627e9edc23
Merge branch 'fix362' of https://github.com/bytemaster/wren into bytemaster-fix362
2017-03-15 07:09:31 -07:00
9efb18bae2
Typo: "seperator" -> "separator".
2017-03-15 07:06:07 -07:00
9fcdf3dc0a
Merge branch '201703_split_replace' of https://github.com/JonesAndrew/wren into JonesAndrew-201703_split_replace
2017-03-15 07:04:56 -07:00
32aa43d1df
Split and replace in wren.
2017-03-07 21:15:06 -05:00
860e596b8a
Test wrenSetSlotNull().
2017-03-03 07:57:50 -08:00
f14d13a6bf
Mention libm in docs.
2017-03-02 07:17:03 -08:00
22ae382ac5
Proofread configuring the VM.
2017-02-12 14:58:16 -08:00
18f8f48bb6
Docs for configuring the VM.
2017-02-12 11:04:38 -08:00
996a607026
More work on embedding docs.
...
- Revise the earlier pages and tighten them up some.
- Write the docs for foreign methods.
2017-02-12 10:14:37 -08:00
f5d9443d0a
Added Sequence.take and Sequence.skip
...
These lazy iterator producing methods are useful when working with
arbitrary sequences and you need to skip or take some number of elements
at the start.
2017-02-10 21:43:59 +01:00
4fe3ad3f8b
Docs for Num.log and Num.pow().
2017-01-20 07:24:46 -08:00
3faec25c4c
Merge branch 'num-features' of https://github.com/underscorediscovery/wren into underscorediscovery-num-features
2017-01-20 07:20:55 -08:00
cdce553f5a
fixed new api issue in cli
2017-01-19 22:58:52 -05:00
dc2f2d9e41
support for user defined state data associated with the WrenVM object
2017-01-19 22:54:25 -05:00
c6eb0be990
Remove the negative number tests for bitwise not.
...
They were inadvertently relying on undefined behavior in C and we get
different results on some compilers.
Until we decide how we want the operation to behave, for now, just
leave it unspecified.
2017-01-12 22:17:33 -08:00
d301fefac2
Add a comment explaining the ci targets.
2017-01-12 21:55:35 -08:00
5ddd783ff5
Use strtoll() for hex literals to handle 64-bit ones even on 32-bit.
2017-01-12 21:53:21 -08:00
0cc00c41c0
Simplify test runner output a little.
2017-01-12 21:38:06 -08:00
33a73ef1d5
Avoid using fpclassify() to detect infinity and nan.
...
It's not supported in C++98. Instead, use isnan() and isinf(), which
seem to work? If nothing else, they are used elsewhere in Wren, so if
we're not going to use them here, we should fix the other places too.
2017-01-12 21:34:11 -08:00