Commit Graph

303 Commits

Author SHA1 Message Date
3f96637274 Update a bunch of io to IO in docs. 2014-02-16 11:28:56 -06:00
719139a446 Merge branch 'master' of https://github.com/munificent/wren 2014-02-16 09:20:43 -08:00
f8a9d7f321 Make Sequence base class.
This lets us share functionality between List and Range (and
other user-defined sequence types).
2014-02-16 09:20:31 -08:00
46de1ec1ea Merge pull request #22 from zeckalpha/master
Spelling typos in docs: "rivaling", "carnival"
2014-02-16 08:51:34 -08:00
b383b78863 Spelling typos in docs: "rivaling", "carnival" 2014-02-15 17:12:18 -06:00
4d8bf4bc8e Update benchmark to use ? and .where(). 2014-02-15 11:59:56 -08:00
e535d7a9e7 Conditional operator. 2014-02-15 11:36:01 -08:00
4728687ca5 Merge branch 'feature/list-where' of git://github.com/zeckalpha/wren into zeckalpha-feature/list-where
Conflicts:
	builtin/core.wren
	src/wren_core.c
2014-02-15 11:21:24 -08:00
b672be8443 Merge pull request #18 from zeckalpha/feature/list-map
Add List.map method and test
2014-02-15 09:12:04 -08:00
3409d588e5 Added List.where method and tests. 2014-02-15 00:42:14 -06:00
1d31c95872 Cleanups for merging map method 2014-02-15 00:34:30 -06:00
c67b239d06 Merge pull request #19 from zeckalpha/feature/c-small-fixes
Two very unimportant changes: a typo and dead code.
2014-02-14 22:22:15 -08:00
10b335908c Two very unimportant changes: a typo and dead code. 2014-02-15 00:15:51 -06:00
83ea5aaf45 Add List.map method and test 2014-02-14 23:06:29 -06:00
b1bae8fc6c Fix #17. 2014-02-14 20:15:49 -08:00
ea3cfa05bd Allow [0..-1] and [0...0] to work on empty lists. 2014-02-14 20:10:41 -08:00
ca7ff222fe Fix iterating over an empty list. 2014-02-14 17:24:06 -08:00
e519ecbc49 Third try. ;) Concat operator, tests. Now [1,2,3] + (4..6) works! Inlined helper functions to keep core lib small. 2014-02-14 11:16:57 -06:00
edd360a934 More fiber tests. 2014-02-14 07:16:56 -08:00
ca4f4d6660 Test "this" in static methods. 2014-02-14 06:37:37 -08:00
59bb7eec7a Remove some outdated TODOs.
They’re TODONE!
2014-02-13 08:38:44 -08:00
756fe0d920 Make "this" the implicit receiver! 2014-02-12 17:33:35 -08:00
92971d1cfa Add python3 to benchmarks. 2014-02-12 17:22:42 -08:00
8ebbba2bc0 Get delta_blue benchmark working in Wren. 2014-02-10 07:56:11 -08:00
ec7e159017 Fix shrinking list capacity. 2014-02-10 07:55:14 -08:00
1b4582fec3 Handle parameter list checking in closures. 2014-02-10 07:53:09 -08:00
ee04f1cf9c Correctly check bounds for method table. 2014-02-08 20:25:33 -08:00
e9ee4eb147 Add FFI support for returning strings and null. 2014-02-05 06:30:20 -08:00
7726ee5131 Handle extra and missing arguments to fn.call. 2014-02-04 09:34:05 -08:00
8d316396e1 Move clock into IO. 2014-02-04 08:49:16 -08:00
4e10445952 Work on class docs a bit. 2014-02-04 08:45:08 -08:00
36df70dba1 Move IO into a separate module. 2014-02-04 08:44:59 -08:00
ba06a4fd8a Define error type enum. 2014-02-03 06:51:44 -08:00
ac7cb594f4 Handle invalid string literals. 2014-02-02 10:31:46 -08:00
7e850637f9 Allow passing a suite to make test. 2014-02-02 10:30:58 -08:00
b576d546e9 Add DROP() macro for popping and discarding the result.
Avoids unused-value warnings where the result of POP() isn’t used.
2014-02-01 10:44:47 -08:00
0b641939d4 Merge pull request #10 from gaodayue/fixbuild
hack unused-value warning on POP() to pass build
2014-02-01 10:42:09 -08:00
092107742d hack unused-value warning on POP() to pass build 2014-02-02 01:12:52 +08:00
4606d80a61 Tweak doc generation script a bit. 2014-01-31 20:55:37 -08:00
498e163580 Merge pull request #9 from zeckalpha/master
Recopy css if it has been modified.
2014-01-31 20:51:30 -08:00
3bc79af83a Docs for lists. 2014-01-31 17:51:09 -08:00
64ddd82631 Recopy css if it has been modified. 2014-01-31 18:46:29 -06:00
25a6565f9f Merge pull request #7 from zeckalpha/master
#!/usr/bin/env python
2014-01-31 16:40:17 -08:00
66f0b57bf3 Allow ranges in list subscript operator. 2014-01-30 09:12:44 -08:00
f2aeb30b31 Hack on the docs a bit. 2014-01-30 06:51:52 -08:00
a5e65faf0d Put the class name on the stack instead of as an arg. 2014-01-29 07:47:09 -08:00
5c2cf641ae Make classes know their name. 2014-01-28 15:31:11 -08:00
148bf70599 Don’t use a specific python instance, use whichever is first in the path. 2014-01-28 12:56:24 -06:00
9739bc7b30 Get rid of separate CODE_SUBCLASS instruction.
Just pushes null to indicate "inherits from Object". Unifies a
bit of code.
2014-01-26 17:25:38 -08:00
27f458de8e Fix nasty bug in patching loop exits. 2014-01-26 17:24:59 -08:00