88e209132e
Updated to match standard style conventions.
2015-06-27 12:50:29 +01:00
7baef81a4e
Clean up a bit.
2015-06-26 23:01:07 -07:00
8c538e4048
Merge branch 'leaks' of https://github.com/NomAnor/wren into NomAnor-leaks
2015-06-26 22:49:24 -07:00
3196735f39
Add block arguments and operators to syntax example.
2015-06-26 22:14:32 -07:00
8ce4879de5
Clean up getting modules.
...
Thanks, Michel!
2015-06-23 07:15:22 -07:00
2c95ae2d2e
Make "is" just another infix operator.
...
Thanks, Michel!
2015-06-19 07:58:07 -07:00
327b40bba7
Remove unnecessary null checks before calling wrenMarkObject().
...
Thanks, Michel!
2015-06-18 07:52:05 -07:00
291ddf3961
Merge pull request #271 from BarabasGitHub/vs-proj
...
Fixed project files for visual studio.
2015-06-18 07:37:58 -07:00
01fe9c3976
Fix memory leak for rootDirectory variable
...
The memory for the root directory path is not freed.
2015-06-03 21:48:26 +02:00
33151c64d2
Fix memory leak for compiler constants
...
The ownership for constants is not transfered to the new function so the
constant buffer must be cleared when the compiler is finished.
2015-06-03 21:47:16 +02:00
0add2195f3
realloc is not a valid implementation for the wren reallocation function
...
The behavior of realloc for size == 0 is implementation defined.
It can return a non NULL pointer which must not be dereferenced but nether
the less must be freed. When calling the wren reallocation function with
size == 0 the memory pointed to ptr must be freed and NULL returned.
2015-06-02 20:57:41 +02:00
73a2101505
Merge branch 'fix-super'
2015-06-02 07:33:48 -07:00
3cdfaea797
Statically dispatch super() calls. Fix #250 .
2015-06-02 07:33:39 -07:00
08f0937f89
Fix NaN tagging diagrams.
2015-06-02 07:14:19 -07:00
01ef6e4198
Added link to IO class to core template
2015-05-30 16:12:13 +01:00
0dab2f4be4
Added link to IO class documentation to core index
2015-05-30 16:11:26 +01:00
d3e12980d4
Attempted to document the IO class
2015-05-30 16:10:14 +01:00
3fd63eb2a5
Create IO.markdown
2015-05-29 10:40:16 +01:00
06feba4861
Merge branch 'master' into fix-super
2015-05-27 06:57:20 -07:00
d66556b713
Add API tests for returning null or numbers.
2015-05-24 10:04:24 -07:00
6c135e9941
Show number of expectations in test output.
2015-05-24 09:45:52 -07:00
bbbc85cb66
Merge pull request #273 from munificent/api-test
...
Add infrastructure to test embedding API.
2015-05-24 09:29:25 -07:00
7084d6bfd5
Add infrastructure to test embedding API.
2015-05-24 09:23:30 -07:00
ac69ae4bb8
Fixed project files for visual studio.
2015-05-23 19:15:58 +02:00
852c837435
Merge pull request #268 from zeckalpha/test-example
...
Run examples as tests. Would have prevented #266
2015-05-23 08:32:33 -07:00
5ad94fb4da
Add ignored to walk() in test.py to clean up list of test dirs.
2015-05-21 09:17:40 -05:00
fc7612c843
Run examples as tests. Would have prevented #266
2015-05-20 10:10:40 -05:00
a114f34a2a
Remove outdated set example. Fix #266 .
2015-05-20 07:07:47 -07:00
16d5c4441c
Merge branch 'master' of https://github.com/munificent/wren
2015-05-19 07:00:57 -07:00
3be0a396c4
Remove unneeded line from Makefile.
2015-05-19 07:00:44 -07:00
9ccefc6af3
Merge pull request #262 from lluchs/syntax-example
...
Add syntax example file
2015-05-19 06:58:12 -07:00
e861b86563
Revert 40897f3348.
...
It leaks memory in the case of runtime errors.
2015-05-19 06:50:17 -07:00
8834dcfe1d
Add (failing) tests.
2015-05-19 06:47:42 -07:00
be5a42dc22
Add function to grow a buffer by more than one element.
2015-05-05 06:54:13 -07:00
40897f3348
Don't stackoverflow on recursive lists and maps. Fix #3 .
2015-05-03 11:13:05 -07:00
3f06553f7f
Allow fibers as map keys.
2015-05-03 11:12:17 -07:00
fcf4197139
Add Object.same(_,_) to access built-in equality even for classes that may override ==.
...
Had to add a new metaclass for Object since it now has its own static method so we
can't just use Class as its metaclass. (We don't want *every* class to have a same(_,_)
static method.)
2015-05-01 07:55:28 -07:00
a907c143c8
Test referring to lowercase class name inside class.
...
Fix #251 .
2015-04-25 10:47:55 -07:00
47d0ba951f
Merge pull request #261 from EvanHahn/patch-1
...
Add Evan Hahn to AUTHORS
2015-04-25 09:34:57 -07:00
abdb2727e9
Add Evan Hahn to AUTHORS
2015-04-25 11:19:55 -05:00
f132f59649
Add syntax example file
2015-04-25 18:10:17 +02:00
1c5a2b03c1
Copy edit a bit.
2015-04-25 08:48:06 -07:00
e0ceb87975
Merge branch '257-community' of git://github.com/EvanHahn/wren into EvanHahn-257-community
2015-04-25 08:39:43 -07:00
30ccadd896
Merge branch 'master' of https://github.com/munificent/wren
2015-04-25 08:39:04 -07:00
bead9a3406
Output amalgamation into build/.
2015-04-25 08:38:45 -07:00
f0d1b73fa3
Add a Community page
...
Closes #257 .
2015-04-23 17:46:18 -05:00
f07e38f40a
Merge branch 'amalgamation' of git://github.com/lluchs/wren into lluchs-amalgamation
2015-04-23 07:27:32 -07:00
4147ef2500
Merge pull request #259 from minirop/import-keyword
...
added missing "import" keyword
2015-04-22 07:46:13 -07:00
7c1ede0a3d
Merge branch 'master' of https://github.com/munificent/wren
2015-04-22 07:45:39 -07:00
bfce24151e
Tweak docs.
2015-04-22 07:45:20 -07:00