|
|
84ead3bb18
|
Start sketching out an actual contributor's guide.
- Add AUTHORS file
- Update README to match site docs
|
2015-01-04 13:36:23 -08:00 |
|
|
|
52bd38f3bd
|
Don't double report lexer errors.
|
2015-01-04 13:10:46 -08:00 |
|
|
|
09bb28735c
|
Merge branch 'feature-shebang-support' of git://github.com/mauvm/wren into mauvm-feature-shebang-support
|
2015-01-04 13:02:42 -08:00 |
|
|
|
a9bb2387a1
|
Handle empty (or comment-only) files. Fix #57.
|
2015-01-04 13:00:53 -08:00 |
|
|
|
4200f18f83
|
Rename test for invalid shebang.
|
2015-01-04 20:09:33 +01:00 |
|
|
|
6c549e0cc5
|
Use lexError() and add test for invalid shebang.
|
2015-01-04 19:56:16 +01:00 |
|
|
|
005688da96
|
Merge branch 'master' of https://github.com/munificent/wren
|
2015-01-04 10:03:16 -08:00 |
|
|
|
728cb2cbca
|
Gitignore shared libraries and comment makefile a bit.
|
2015-01-04 10:02:50 -08:00 |
|
|
|
f466763d54
|
Merge branch 'build-shared-lib-and-interpreter' of git://github.com/pwoolcoc/wren into pwoolcoc-build-shared-lib-and-interpreter
|
2015-01-04 09:57:05 -08:00 |
|
|
|
dfb381e43b
|
Remove duplicate comment. Oops.
|
2015-01-04 08:52:40 +01:00 |
|
|
|
e46d2e479b
|
Merge pull request #55 from gsmaverick/repl-newline
Don't try to run an empty line in the REPL.
|
2015-01-03 23:40:20 -08:00 |
|
|
|
a8726e6c00
|
SO MUCH NEW DOCS OH WOW.
|
2015-01-03 23:27:02 -08:00 |
|
|
|
8a54ef9919
|
Add tests.
|
2015-01-03 20:53:17 +01:00 |
|
|
|
fa96fb0a8e
|
Let compiler ignore shebang on first line.
|
2015-01-03 20:53:12 +01:00 |
|
|
|
e3e358fb61
|
Don't try to run an empty line in the REPL.
|
2015-01-03 14:25:10 -05:00 |
|
|
|
c25cfca18b
|
Eliminate semicolons entirely.
|
2015-01-03 10:02:45 -08:00 |
|
|
|
c0043e78d4
|
Merge branch 'master' of https://github.com/munificent/wren
|
2015-01-02 20:17:36 -08:00 |
|
|
|
b33dcf0da5
|
Name the anonymous union since strict C99 doesn't allow it.
|
2015-01-02 20:17:10 -08:00 |
|
|
|
d190254f4a
|
Merge pull request #49 from skybrian/patch-1
Fix example of catching and printing an error
|
2015-01-02 20:09:43 -08:00 |
|
|
|
2abeb9ad2e
|
Make first example correct (!). Fix #47.
|
2015-01-02 20:07:43 -08:00 |
|
|
|
46867d3540
|
Fix example of catching and printing an error
The output didn't match the source code.
(Tested.)
|
2015-01-02 14:12:53 -08:00 |
|
|
|
7cb77b7729
|
First try at building separate lib + binary
|
2015-01-02 15:24:07 -05:00 |
|
|
|
6b510da872
|
Get Travis set up.
|
2015-01-02 08:13:51 -08:00 |
|
|
|
526a84c4d6
|
Remove pointless newline.
|
2015-01-02 07:59:31 -08:00 |
|
|
|
99f0bf09c3
|
Add README and move metrics script.
|
2015-01-02 07:42:08 -08:00 |
|
|
|
a1b02a04bb
|
Clarify license.
|
2015-01-02 07:38:00 -08:00 |
|
|
|
f028544b53
|
CamelCase.
|
2015-01-02 07:31:02 -08:00 |
|
|
|
23ba46a9f9
|
Move the -lm after the list of object files
Fixes linking through `gcc`, doesn't affect `clang`.
Closes #43
|
2015-01-02 09:32:30 -05:00 |
|
|
|
25b31a206a
|
Check the return value of getline
Otherwise, `gcc` warns, which causes the build to fail
|
2015-01-02 09:32:29 -05:00 |
|
|
|
50be5971a4
|
Fix link to embedding API.
|
2015-01-01 22:59:38 -08:00 |
|
|
|
3640c66bfb
|
Fix range in docs.
|
2015-01-01 22:48:43 -08:00 |
|
|
|
d65bd1382b
|
Add gh-pages build step.
|
2015-01-01 20:58:36 -08:00 |
|
|
|
b876f4a51a
|
More hacking on docs.
|
2015-01-01 20:45:15 -08:00 |
|
|
|
42816c46ee
|
Add TODO for arity getter.
|
2015-01-01 18:49:10 -08:00 |
|
|
|
8ab91bf6c2
|
Fill in some more docs.
|
2015-01-01 18:48:59 -08:00 |
|
|
|
0882897c6b
|
Write doc for error-handling.
|
2015-01-01 16:02:02 -08:00 |
|
|
|
c967439ead
|
Add Fiber.abort() method.
|
2015-01-01 10:40:14 -08:00 |
|
|
|
93ced56a7a
|
Clean up corner case for empty list range.
|
2014-12-31 10:34:44 -08:00 |
|
|
|
46733391c1
|
User pointer for stack top instead of array index.
Cleans up a bunch of stack calculation.
|
2014-12-31 10:34:27 -08:00 |
|
|
|
2656487f71
|
Store the start of the current frame's stack in a local.
binary_trees - wren .......... 3337 0.30s 99.03% relative to baseline
delta_blue - wren .......... 6989 0.14s 97.90% relative to baseline
fib - wren .......... 2985 0.33s 121.72% relative to baseline
for - wren .......... 8530 0.12s 99.06% relative to baseline
method_call - wren .......... 5047 0.20s 98.74% relative to baseline
|
2014-12-08 06:57:36 -08:00 |
|
|
|
d903ba0cbe
|
Update benchmark chart in docs.
|
2014-12-07 14:34:17 -08:00 |
|
|
|
8417fadc2f
|
Make all heap objects store a reference to their class and inline class lookup.
This is redundant, but significantly optimizes method dispatch:
binary_trees - wren .......... 3347 0.30s 110.30% relative to baseline
delta_blue - wren .......... 7161 0.14s 110.39% relative to baseline
fib - wren .......... 2445 0.41s 112.78% relative to baseline
for - wren .......... 8600 0.12s 143.00% relative to baseline
method_call - wren .......... 5112 0.20s 114.15% relative to baseline
|
2014-12-07 14:29:50 -08:00 |
|
|
|
ac67386208
|
Add specialized instructions for loading some locals.
Not having to decode a separate arg byte improves some benchmarks:
binary_trees - wren .......... 3094 0.32s 101.95% relative to baseline
delta_blue - wren .......... 6555 0.15s 101.05% relative to baseline
fib - wren .......... 2326 0.43s 107.32% relative to baseline
for - wren .......... 6183 0.16s 102.81% relative to baseline
method_call - wren .......... 4746 0.21s 105.97% relative to baseline
|
2014-12-06 19:59:11 -08:00 |
|
|
|
a94dfdac10
|
Add test for too many constants in one function.
|
2014-12-06 16:39:39 -08:00 |
|
|
|
da7aca5dd2
|
Don't create uninitialized string objects from "" string literals.
|
2014-12-06 10:04:46 -08:00 |
|
|
|
e3cf80127b
|
Ensure functions always have a return even in release builds.
|
2014-12-01 21:36:06 -08:00 |
|
|
|
c001042276
|
More tweaks to hopefully please GCC.
|
2014-11-28 11:21:01 -08:00 |
|
|
|
d1a07460c9
|
Fix compiling break statements.
Had the wrong instruction size, which caused later code walking to wander into arguments.
|
2014-11-26 18:33:54 -08:00 |
|
|
|
83c2013dfb
|
Fixes to make GCC happier.
|
2014-11-26 14:03:05 -08:00 |
|
|
|
f6cbb6ad75
|
Add Fiber.try().
|
2014-10-15 06:36:42 -07:00 |
|