Commit Graph

132 Commits

Author SHA1 Message Date
64eccdd9be Reorganize tests and benchmark scripts.
Mainly to get rid of one top level directory. But this will
also be useful when there are tests of the embedding API.
2015-03-14 12:45:56 -07:00
5459993857 Add Class.supertype.
Thanks, Michel!
2015-03-14 09:48:45 -07:00
f7849244a8 Tighten up operator table a bit. 2015-03-13 07:56:47 -07:00
860616244e Tweak precedence table styles a bit. 2015-03-13 07:24:45 -07:00
337ef467ed Add operator precedence table to documentation 2015-03-09 11:36:15 -04:00
05ba7d9fbf Add fiber features needed for to write an external scheduler:
- Allow yielding the main fiber. This exits the interpreter. The
  host can resume it by calling a method.
- Allow getting a reference to the current fiber.
2015-03-07 12:32:11 -08:00
90aa43450b Merge branch 'master' of git://github.com/bjorn/wren into bjorn-master 2015-03-03 07:23:47 -08:00
f10e0121b6 Two small doc fixes
* Fixed inconsistency in Lua vs. Wren example
* Fixed broken sentence
2015-03-01 23:14:32 +01:00
8f985847d4 Added Sequence.any as complement to Sequence.all 2015-03-01 23:14:32 +01:00
ff9091cf63 Tweak static field docs a bit. 2015-03-01 08:39:53 -08:00
7bed58ecf3 doc/site/classes.markdown: add static fields example 2015-02-28 11:26:18 -05:00
effa69f64e Tweak docs a bit. 2015-02-27 07:37:58 -08:00
7cb5de388d Merge branch 'doc-site-core-num' of git://github.com/hachibu/wren into hachibu-doc-site-core-num 2015-02-27 07:30:58 -08:00
ac70088e6b doc: add documentation for ceil, floor, .., and ... in num.markdown 2015-02-27 08:49:42 -05:00
96ceaa528b Allow empty argument list methods.
- Compile them as calls and definitions.
- Use them for call(), clear(), run(), try(), and yield().
- Update the docs.
2015-02-26 23:08:36 -08:00
4b88292ec1 Merge branch 'num-from-string' of git://github.com/gsmaverick/wren into gsmaverick-num-from-string 2015-02-25 06:53:12 -08:00
516808f6d2 Fix typo in docs. 2015-02-25 06:49:42 -08:00
03a5b96040 Add a fromString static method on Num that converts strings to numbers. 2015-02-22 20:06:17 -08:00
a9d9362e29 Fix some typos in fn docs. 2015-02-22 12:34:32 -08:00
bd97c244a5 Document removeAt() return value. Fix #176. 2015-02-22 10:26:31 -08:00
037a2bdb66 Massive Makefile clean up!
- "make all" builds all combinations of configurations
- Binaries are built to "bin"
- (For convenience, the release interpreter also goes in the top level dir)
- Libraries are built to "lib"

This will also make it easier to support building and testing other
configurations like Nan tagging versus union, computed goto, etc.
2015-02-22 10:19:23 -08:00
44c547176b Fix quotes in module docs. 2015-02-20 06:54:03 -08:00
a4fa3027c0 Fix cyclic import docs. 2015-02-19 06:38:13 -08:00
ca14dffab4 First pass at docs for modules. 2015-02-18 07:55:09 -08:00
a9bd864c6b More docs for maps. 2015-01-25 21:39:22 -08:00
4579171afa Add remove() to Map. 2015-01-25 17:42:36 -08:00
0e6a90443e Add containsKey() to Map, and validate key types. 2015-01-25 12:39:19 -08:00
3061bdde7f Start documenting maps and work on some other docs a bit. 2015-01-25 11:08:13 -08:00
438e7bae3f Merge branch 'list-join' of git://github.com/gsmaverick/wren into gsmaverick-list-join 2015-01-24 14:39:45 -08:00
4977083904 Abstract List's toString method to a more general join method on Sequence. 2015-01-24 14:01:16 -08:00
efd161cea2 Add "arity" getter to Fn. 2015-01-23 20:33:05 -08:00
c3a858a2c7 Update doc on VS project. 2015-01-23 10:41:11 -08:00
eb424f5c1a Make strings iterable over their code points.
I'm not sure why, but this also regresses perf:

binary_trees - wren            ..........  3290  0.30s   96.68% relative to baseline
delta_blue - wren              ..........  7948  0.13s   99.06% relative to baseline
fib - wren                     ..........  3165  0.32s   95.90% relative to baseline
for - wren                     ..........  8242  0.12s   96.00% relative to baseline
method_call - wren             ..........  5417  0.18s   78.74% relative to baseline

Need to investigate.
2015-01-22 20:58:22 -08:00
a5b00cebe7 Clarify how string subscripting handles UTF-8. 2015-01-22 16:38:03 -08:00
311bec5b03 Mention authors on the footer! 2015-01-20 17:47:17 -08:00
879d9d725e Add links to mailing list. 2015-01-20 17:46:52 -08:00
2a4804bbc9 Reorganize core library docs. 2015-01-18 15:36:36 -08:00
f79f1d2b63 Show benchmarks are time, not scores. 2015-01-16 17:51:10 -08:00
fe71ddd520 Update benchmark table. 2015-01-16 07:52:51 -08:00
096578cc92 Reorganize docs a bit. 2015-01-16 07:04:01 -08:00
16d2f62a24 Update reduce documentation 2015-01-16 09:53:20 +01:00
5a7b70d45c Add documentation for reduce 2015-01-16 09:24:59 +01:00
64c2bd7633 Make all types support "!" so "if (!foo)" works reliably for all objects. 2015-01-15 21:50:01 -08:00
94259fac8a Merge branch 'master' of https://github.com/munificent/wren 2015-01-15 21:17:45 -08:00
93a4dd1b64 Update docs to mention compiling as C++. 2015-01-15 21:15:21 -08:00
2ddf0a9586 Fix some overlooked references to forall. 2015-01-15 19:05:58 -08:00
78e99c6c99 Merge branch 'list-forall' of git://github.com/gsmaverick/wren into gsmaverick-list-forall 2015-01-15 06:52:43 -08:00
7716ad6263 Adds forall method on Sequences. 2015-01-13 23:47:01 -08:00
0c6d192ace bretheren > brethren 2015-01-12 17:39:41 -06:00
1c9520020e unvalid > invalid 2015-01-12 17:27:35 -06:00