15f73b43f0
Renaming 'decimal' as 'fraction'.
2015-03-05 00:45:30 +01:00
d722adddff
Use more idiomatic loops in delta_blue.
2015-03-04 07:16:56 -08:00
fde6f74d15
Adding tests.
2015-03-04 16:12:08 +01:00
f33d89bd0b
Adding integer division method ('div').
2015-03-04 16:10:37 +01:00
2b66880bb3
Simplify marking.
2015-03-04 07:08:48 -08:00
52ebb2b5d7
Consistency in variable names. :)
2015-03-04 14:46:24 +01:00
fc866f896f
Extending 'sign' method to handle also "equal to zero" case.
2015-03-04 14:45:51 +01:00
86e63dd597
Adding number 'sign' method.
2015-03-04 14:42:50 +01:00
f494b526c7
Inverting 'decimal' and 'truncate'... opps! :D
2015-03-04 14:42:34 +01:00
d6e9a49813
Adding 'decimal' and 'truncate' number methods.
2015-03-04 00:29:19 +01:00
5007e1ff33
Adding deg<->rad number conversion methods.
2015-03-04 00:28:44 +01:00
90aa43450b
Merge branch 'master' of git://github.com/bjorn/wren into bjorn-master
2015-03-03 07:23:47 -08:00
87739e8730
Merge branch 'master' into mingw-fix
2015-03-03 07:20:43 -08:00
28005ed47a
Refactor number parsing a bit.
2015-03-03 07:17:56 -08:00
0ec31433c8
Generate an error if a number literal is too large to be represented with the Num class.
2015-03-03 00:07:55 -08:00
794d09ef15
Fix typo.
2015-03-02 07:32:09 -08:00
de80f1fd65
Add DEALLOCATE() macro.
2015-03-02 07:31:46 -08:00
4cf23218f9
"Native" -> "primitive". Yay consistency!
2015-03-02 07:24:04 -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
208ae9f7f2
Handle cc not being defined by MSYS for MinGW.
2015-03-01 09:25:48 -08:00
20b0188125
Merge branch 'master' of https://github.com/munificent/wren
2015-03-01 08:40:17 -08:00
ff9091cf63
Tweak static field docs a bit.
2015-03-01 08:39:53 -08:00
b2a7c5737c
Merge branch 'static-fields-doc' of git://github.com/hachibu/wren into hachibu-static-fields-doc
2015-03-01 08:34:11 -08:00
3168d240a6
Merge pull request #203 from hachibu/authors
...
authors: add myself to authors
2015-03-01 08:33:06 -08:00
537cce1caa
Merge branch 'master' of https://github.com/munificent/wren
2015-03-01 08:20:55 -08:00
12f725f2ef
authors: add myself to authors
2015-03-01 07:50:30 -05:00
e72eedc6f5
Merge pull request #202 from bjorn/fib
...
Made the fib benchmark a bit faster
2015-02-28 16:51:41 -08:00
a025e01971
Clean up some dumb mistakes.
2015-02-28 13:51:19 -08:00
876c2d9208
Add API to call Wren method from C code.
...
This gives you a simple, efficient way to invoke a method on
some Wren object from C code, passing in arguments.
The basic API is in place and works, but there's still lots to do:
- Lots of error handling.
- Documentation.
- Tests!
2015-02-28 13:31:15 -08:00
d5377faf11
Made the fib benchmark a bit faster
...
This way fib.wren was consistently about 6% faster for me.
2015-02-28 21:15:18 +01:00
6b05610c6a
Correctly count range size in GC.
2015-02-28 09:09:57 -08:00
7bed58ecf3
doc/site/classes.markdown: add static fields example
2015-02-28 11:26:18 -05:00
f472a301a2
Don't trigger GC on deallocation.
2015-02-27 21:41:59 -08:00
59796bcf5d
Document benchmark runner.
2015-02-27 21:34:07 -08:00
c27a094882
Reorganize superclass validation a bit.
2015-02-27 08:08:27 -08:00
46713a5bb3
Merge branch 'issue-70' of git://github.com/verpeteren/wren into verpeteren-issue-70
2015-02-27 07:41:25 -08: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
8408e862a3
Clean up the test script a bit.
2015-02-27 07:22:27 -08:00
07c7b49681
Use full signature in method debug name.
2015-02-27 07:10:44 -08:00
5d116153dd
Simplify parameterList().
2015-02-27 06:51:37 -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
1aaa8cff52
Use more comprehensive signature strings for methods.
2015-02-26 21:56:15 -08:00
e007bb7f11
Make embedding API provide full method signature.
2015-02-26 07:44:45 -08:00
22edfd7e7f
Add note to comment.
2015-02-26 07:37:10 -08:00
f05d6143f5
Generating a runtime error on subclassing of builtins
...
As discussed in https://github.com/munificent/wren/issues/70 , it is not allowed to subclass built-in types.
2015-02-25 20:13:37 +01:00
6a10d9740c
Merge pull request #187 from MarcoLizza/bitwise_precedence
...
Bitwise precedence
2015-02-25 07:14:31 -08:00
fc2ed6f6e1
Don't allow trailing non-number characters when parsing a string to a number.
2015-02-25 07:07:54 -08:00