Commit Graph
981 Commits
Author SHA1 Message Date
Bob Nystrom 080514cffb Tweak arguments to runInterpreter().
Thanks, Michel!
2015-06-27 08:56:52 -07:00
Bob Nystrom aa37bdc780 Include method name in block argument debug name. 2015-06-27 08:36:20 -07:00
Bob Nystrom bf730bb953 More tests for invalid code points. 2015-06-27 08:11:58 -07:00
Bob Nystrom 7baef81a4e Clean up a bit. 2015-06-26 23:01:07 -07:00
Bob Nystrom 8c538e4048 Merge branch 'leaks' of https://github.com/NomAnor/wren into NomAnor-leaks 2015-06-26 22:49:24 -07:00
Bob Nystrom 3196735f39 Add block arguments and operators to syntax example. 2015-06-26 22:14:32 -07:00
Bob Nystrom 8ce4879de5 Clean up getting modules.
Thanks, Michel!
2015-06-23 07:15:22 -07:00
Bob Nystrom 2c95ae2d2e Make "is" just another infix operator.
Thanks, Michel!
2015-06-19 07:58:07 -07:00
Bob Nystrom 327b40bba7 Remove unnecessary null checks before calling wrenMarkObject().
Thanks, Michel!
2015-06-18 07:52:05 -07:00
Bob Nystrom 291ddf3961 Merge pull request #271 from BarabasGitHub/vs-proj
Fixed project files for visual studio.
2015-06-18 07:37:58 -07:00
André Althaus 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
André Althaus 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
André Althaus 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
Bob Nystrom 73a2101505 Merge branch 'fix-super' 2015-06-02 07:33:48 -07:00
Bob Nystrom 3cdfaea797 Statically dispatch super() calls. Fix #250. 2015-06-02 07:33:39 -07:00
Bob Nystrom 08f0937f89 Fix NaN tagging diagrams. 2015-06-02 07:14:19 -07:00
Bob Nystrom 06feba4861 Merge branch 'master' into fix-super 2015-05-27 06:57:20 -07:00
Bob Nystrom d66556b713 Add API tests for returning null or numbers. 2015-05-24 10:04:24 -07:00
Bob Nystrom 6c135e9941 Show number of expectations in test output. 2015-05-24 09:45:52 -07:00
Bob Nystrom bbbc85cb66 Merge pull request #273 from munificent/api-test
Add infrastructure to test embedding API.
2015-05-24 09:29:25 -07:00
Bob Nystrom 7084d6bfd5 Add infrastructure to test embedding API. 2015-05-24 09:23:30 -07:00
Barabas ac69ae4bb8 Fixed project files for visual studio. 2015-05-23 19:15:58 +02:00
Bob Nystrom 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
Kyle Marek-Spartz 5ad94fb4da Add ignored to walk() in test.py to clean up list of test dirs. 2015-05-21 09:17:40 -05:00
Kyle Marek-Spartz fc7612c843 Run examples as tests. Would have prevented #266 2015-05-20 10:10:40 -05:00
Bob Nystrom a114f34a2a Remove outdated set example. Fix #266. 2015-05-20 07:07:47 -07:00
Bob Nystrom 16d5c4441c Merge branch 'master' of https://github.com/munificent/wren 2015-05-19 07:00:57 -07:00
Bob Nystrom 3be0a396c4 Remove unneeded line from Makefile. 2015-05-19 07:00:44 -07:00
Bob Nystrom 9ccefc6af3 Merge pull request #262 from lluchs/syntax-example
Add syntax example file
2015-05-19 06:58:12 -07:00
Bob Nystrom e861b86563 Revert 40897f3348.
It leaks memory in the case of runtime errors.
2015-05-19 06:50:17 -07:00
Bob Nystrom 8834dcfe1d Add (failing) tests. 2015-05-19 06:47:42 -07:00
Bob Nystrom be5a42dc22 Add function to grow a buffer by more than one element. 2015-05-05 06:54:13 -07:00
Bob Nystrom 40897f3348 Don't stackoverflow on recursive lists and maps. Fix #3. 2015-05-03 11:13:05 -07:00
Bob Nystrom 3f06553f7f Allow fibers as map keys. 2015-05-03 11:12:17 -07:00
Bob Nystrom 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
Bob Nystrom a907c143c8 Test referring to lowercase class name inside class.
Fix #251.
2015-04-25 10:47:55 -07:00
Bob Nystrom 47d0ba951f Merge pull request #261 from EvanHahn/patch-1
Add Evan Hahn to AUTHORS
2015-04-25 09:34:57 -07:00
Evan Hahn abdb2727e9 Add Evan Hahn to AUTHORS 2015-04-25 11:19:55 -05:00
Luchs f132f59649 Add syntax example file 2015-04-25 18:10:17 +02:00
Bob Nystrom 1c5a2b03c1 Copy edit a bit. 2015-04-25 08:48:06 -07:00
Bob Nystrom e0ceb87975 Merge branch '257-community' of git://github.com/EvanHahn/wren into EvanHahn-257-community 2015-04-25 08:39:43 -07:00
Bob Nystrom 30ccadd896 Merge branch 'master' of https://github.com/munificent/wren 2015-04-25 08:39:04 -07:00
Bob Nystrom bead9a3406 Output amalgamation into build/. 2015-04-25 08:38:45 -07:00
Evan Hahn f0d1b73fa3 Add a Community page
Closes #257.
2015-04-23 17:46:18 -05:00
Bob Nystrom f07e38f40a Merge branch 'amalgamation' of git://github.com/lluchs/wren into lluchs-amalgamation 2015-04-23 07:27:32 -07:00
Bob Nystrom 4147ef2500 Merge pull request #259 from minirop/import-keyword
added missing "import" keyword
2015-04-22 07:46:13 -07:00
Bob Nystrom 7c1ede0a3d Merge branch 'master' of https://github.com/munificent/wren 2015-04-22 07:45:39 -07:00
Bob Nystrom bfce24151e Tweak docs. 2015-04-22 07:45:20 -07:00
Bob Nystrom fea844382f Merge branch 'doc-todos' of git://github.com/gsmaverick/wren into gsmaverick-doc-todos 2015-04-22 07:22:42 -07:00
Bob Nystrom 9f30400b7d Merge pull request #258 from patriciomacadden/fix-typo
fix typo: orde => order
2015-04-22 07:21:13 -07:00