de6a312868
Functions for operating on Maps from C ( #725 )
...
new API functions for maps:
wrenSetSlotNewMap
wrenGetMapCount
wrenGetMapContainsKey
wrenGetMapValue
wrenSetMapValue
wrenRemoveMapValue
2020-06-14 14:45:23 -07:00
344d3432b3
Fix slot array corrupted by wrenInterpret() ( #730 )
2020-06-13 21:42:06 -07:00
7983082b71
Support positive sign in scientific notation ( #706 )
...
* Support positive sign in scientific notation
* Add exponent with positive sign to docs
2020-06-13 21:37:30 -07:00
f3493d0499
Optimize Random.sample(_, _) for performance ( #716 )
...
* Optimize Random.sample(_, _) for performance
* Make tests treat random samples as unordered
* Test all sample sizes possible
* Tweak random sampling algorithm for performance
2020-06-13 21:31:23 -07:00
fea0dfafa0
Fix typos in wren_value.h ( #749 )
...
* Fix typo: "pointing too" -> "pointing to"
* Fix typo: It *is* heap-allocated
2020-06-13 21:25:55 -07:00
f894273f50
Refactor travis script ( #754 )
2020-06-13 21:25:18 -07:00
909d1c9471
Add script to regenerate projects using premake ( #755 )
2020-06-13 21:24:55 -07:00
b5894c6ff5
wren: Remove a magic number in the compiler. ( #757 )
2020-06-13 21:24:37 -07:00
7c357e1b02
Update gitignore ( #759 )
...
Add VSCode project folder and macOS specific stuff.
2020-06-13 21:24:16 -07:00
9fb6d02b5c
main branch reference fixes
2020-06-12 10:11:49 -07:00
e45a9d0382
removed localhost ( #758 )
2020-06-09 17:03:36 -07:00
bef4099101
missed nitpick
2020-06-08 12:31:03 -07:00
9f64c05fa8
Make do blocks in macros consistent with the rest of the code
2020-06-08 12:28:15 -07:00
26d0194117
wren/vm: Uniformize macros to stick to 80 columns. ( #756 )
...
uniform macros
2020-06-08 12:23:15 -07:00
2c2f5936eb
tests; warn against missing wren_test binary correctly
2020-06-06 10:38:43 -07:00
b694b2231c
docs; fix blog template missing links and wrong paths
2020-06-06 10:32:44 -07:00
6cfe6dd6de
tests; warn against missing wren_test binary instead of a loud error
2020-06-06 10:29:35 -07:00
8341f61cdb
docs; nitpicks
2020-06-05 20:11:32 -07:00
cd01246997
remove pygments setup
0.3.0
2020-06-05 15:21:33 -07:00
6350ddd242
fix permissions for travis doc script
2020-06-05 15:16:59 -07:00
d69d7e482d
Added description of to the Num class docs ( #726 )
2020-06-05 15:08:52 -07:00
7b56dce4f0
Fix example C code ( #745 )
2020-06-05 15:08:25 -07:00
d585a080e8
Merge pull request #751 from wren-lang/0.3.0-refactor
...
0.3.0 refactor
2020-06-05 14:57:20 -07:00
6ab4abe9e3
cli; Fix a memory leak in findModulesDirectory() ( #718 )
2019-12-27 10:42:32 -08:00
186a8c7c13
Fixed Random.sample(list, count) for small number of samples ( #714 )
...
Closes #713
2019-12-11 15:40:07 -08:00
53cf6f511b
benchmark; fix parsing of None in certain cases (like with no interpreter when a baseline is made)
2019-10-07 23:48:42 -07:00
b120739631
fix minor warning
2019-10-07 23:43:05 -07:00
51ef6ff5fa
docs; fix missing blog link and arrangement in small mode
...
thanks Brian Slesinsky
2019-10-02 23:41:39 -07:00
faff0d6ca4
blog; formatting
0.2.0
2019-09-30 23:03:45 -07:00
8ce631e80e
blog; add 0.2.0/0.3.0 post
2019-09-30 22:48:04 -07:00
5338275dcd
0.2.0 prep work
2019-09-30 21:38:08 -07:00
3eb4ac1419
Add a clearer error message for forward declared lowercase variables ( #699 )
...
* Add better error messaging for forward referenced top level variables, see #467
* add test case
2019-09-30 20:30:27 -07:00
fc7bd1c78f
Merge pull request #703 from mwilmsm/master
...
Cleaned up some documentation typos. -mw
2019-09-30 13:23:51 -07:00
265bcc6780
Cleaned up some documentation typos. -mw
2019-09-30 09:02:55 -05:00
ff4f92eb87
.gitignore; and one more
2019-09-28 12:21:45 -07:00
7617498aa3
.gitignore; correct path for object files
2019-09-28 12:21:19 -07:00
688691b17c
Don't access null pointers when printing null module names
...
fixes #631
2019-09-18 22:49:01 -07:00
7eac8e6a37
docs; encapsulation legibility fixes
2019-09-18 01:43:34 -07:00
898e5356c7
Merge pull request #562 from Salmela/locals-array-overflow-fix
...
Check that there is space in local variable array
2019-09-18 00:20:03 -07:00
f3b0200c39
Merge pull request #541 from kext/amalgamation
...
Repaired amalgamation script
2019-09-18 00:11:22 -07:00
cdeb0db5c3
disambiguate the call here from the call in wren_compiler.c (fixes amalgamation having overalapped symbols)
2019-09-18 00:08:07 -07:00
123ba80a89
fix warning about conversion from '__int64' to 'double', possible loss of data
2019-09-18 00:05:16 -07:00
fa2a3d9576
Clarify modulus documentation for sign
...
closes #695
2019-09-17 22:27:47 -07:00
0e67667010
Update Encapsulation documentation to be clearer
...
fixes #691
2019-09-17 22:18:55 -07:00
e94c813ecc
Merge pull request #698 from matusnovak/fix-foreign-allocate-abort-fiber
...
Fix wrenAbortFiber does not work inside of foreign class allocator
2019-09-17 11:08:37 -07:00
f91586a71a
Fix wrenAbortFiber does not work inside of foreign class allocator
2019-09-17 19:43:53 +02:00
740c365597
Merge pull request #693 from wren-lang/faster-bit-hash
...
Fix horrendously bad bit hashing function.
2019-07-27 21:00:02 -07:00
2a1499b04b
Fix horrendously bad bit hashing function.
...
hashBits() is used to generate a hash code from the same 64 bits used
to represent a Wren number as a double. When building a map containing
a large number of integer keys, it's important for this to do a good
job scattering the bits across the 32-bit key space.
Alas, it does not. Worse, the benchmark to test this happens to stop
just before the performance falls off a cliff, so this was easy to
overlook.
This replaces it with the hash function V8 uses, which has much better
performance across the numeric range.
2019-07-27 13:34:07 -07:00
d1a0d0682a
Merge pull request #688 from pyway/patch-1
...
fix memory leak in path.c
2019-07-01 07:40:14 -07:00
5725ecad67
Update path.c
2019-06-13 14:51:28 +08:00