eb4e50a500
Don't use -fPIC on Windows (cygwin, mingw32).
2015-01-20 13:42:46 -08:00
2a4804bbc9
Reorganize core library docs.
2015-01-18 15:36:36 -08:00
50c0cbe8c3
Merge branch 'master' of https://github.com/munificent/wren
2015-01-18 10:20:29 -08:00
d8b678356e
Raise precedence of "is". Fix #119 .
2015-01-18 10:20:13 -08:00
8a292fac9e
Merge pull request #121 from zeckalpha/phony-prep
...
Make prep Phony
2015-01-18 10:03:13 -08:00
9fcaddaa07
Make prep Phony
2015-01-17 20:20:05 -06:00
ea32ba5f55
Merge pull request #118 from hazbo/feature-wrenReturnBool
...
Feature wren return bool
2015-01-17 08:45:45 -08:00
b7d03971c6
Added comment for wrenReturnBool
2015-01-17 12:02:23 +00:00
dec4f0d1e7
Implemented wrenReturnBool in vm
2015-01-17 11:48:27 +00:00
ae97e9c3a4
Remove Linux-specific libc stuff.
2015-01-16 23:32:20 -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
eece4ee926
Inline callFunction():
...
binary_trees - wren .......... 3400 0.29s 97.79% relative to baseline
delta_blue - wren .......... 7565 0.13s 102.23% relative to baseline
fib - wren .......... 3039 0.33s 98.93% relative to baseline
for - wren .......... 8265 0.12s 92.49% relative to baseline
method_call - wren .......... 6759 0.15s 131.21% relative to baseline
2015-01-16 07:45:42 -08:00
2a37110bd1
Don't use designated initializer.
2015-01-16 07:10:33 -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
ae3045bd8d
Add myself to AUTHORS
2015-01-16 09:53:14 +01:00
82740d2668
Add a test demonstrating folding order
2015-01-16 09:48:59 +01:00
4bc06a3acc
Add reduce test for ranges
2015-01-16 09:33:23 +01:00
d764581a3d
Add test for empty reduce
2015-01-16 09:29:45 +01:00
5cfb638fd1
Use @munificent's single-argument reduce
2015-01-16 09:26:19 +01:00
5a7b70d45c
Add documentation for reduce
2015-01-16 09:24:59 +01:00
4c6b819ed1
Add reduce function on Sequence
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
8651d9c12a
Merge branch 'cpp'
...
Conflicts:
src/wren_vm.c
2015-01-15 21:17:08 -08:00
93a4dd1b64
Update docs to mention compiling as C++.
2015-01-15 21:15:21 -08:00
6e369fc639
Finish making Wren compile as C++98.
...
- Get Value, the hard part, compiling as C++.
- Add some rudimentary C++ support to the makefile, mainly for testing.
2015-01-15 21:12:51 -08:00
4bd2c949e1
Merge pull request #113 from gsmaverick/fix-all-docs
...
Fix all docs
2015-01-15 20:38:00 -08:00
d3e4ac1745
Add myself to AUTHORS.
2015-01-15 19:06:24 -08:00
2ddf0a9586
Fix some overlooked references to forall.
2015-01-15 19:05:58 -08:00
0dec887a2f
Fix interpreter loop when computed gotos are disabled.
2015-01-15 16:22:55 -08:00
3a2432eef7
Get value compiling as C++.
2015-01-15 16:21:14 -08:00
89a6ed9687
Get vm compiling as C++.
2015-01-15 16:02:38 -08:00
08263e3676
Get debug and utils compiling as C++.
2015-01-15 16:00:51 -08:00
e3ccb68c79
Get main.c and compiler compiling as C++.
2015-01-15 15:59:14 -08:00
4249f92571
Rename tests.
2015-01-15 06:54:16 -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
b829ce67af
Rename forall to all.
2015-01-14 23:19:31 -08:00
7ce4f20533
Merge branch 'nonlocal-names'
2015-01-14 23:08:34 -08:00
c50e46725f
Implicitly define nonlocal names.
...
If a capitalized name cannot be resolved, a new top-level
variable with its name is implicitly declared. If a real
definition is not found later, a compile time error is raised.
Mutual recursion at the top level works now!
Fix #101 . Fix #106 .
2015-01-14 23:08:25 -08:00
74a7ac6b95
Update DeltaBlue to use nonlocal name.
2015-01-14 23:03:17 -08:00
f2b334d7d2
Add more forall test cases.
2015-01-14 22:51:34 -08:00
15561be89b
Don't check against other keywords once we find a match. Fix #110 .
2015-01-14 06:46:02 -08:00
7716ad6263
Adds forall method on Sequences.
2015-01-13 23:47:01 -08:00
a8e2ba233c
Add support for "nonlocal" (capitalized) names, and change how variable lookup works.
...
Inside a method, all local variable lookup stops at the method boundary. In other
words, methods, do not close over outer local variables.
If a name is not found inside a method and is lowercase, it's a method on this.
If it's capitalized, it's a global variable.
2015-01-13 21:36:42 -08:00
9cb414d63b
Merge branch 'master' of https://github.com/munificent/wren
2015-01-13 06:42:35 -08:00
b4495736ed
Don't have a semicolon at the end of the template
2015-01-12 20:16:06 -06:00
39e5aea77c
Merge pull request #104 from zeckalpha/typos
...
Typos
2015-01-12 16:58:05 -08:00
0c6d192ace
bretheren > brethren
2015-01-12 17:39:41 -06:00