Commit Graph
434 Commits
Author SHA1 Message Date
Kyle Marek-Spartz ed548aa659 Keep same whitespace as previous version 2015-01-06 17:57:57 -06:00
Kyle Marek-Spartz e83d01855c Make run_bench compatible with Python 3 2015-01-06 16:20:21 -06:00
Bob Nystrom af6be5d346 Update README.md
Add Travis build status image.
2015-01-06 07:21:22 -08:00
Bob Nystrom 6adf8c40e1 Don't use printf() to format NaNs since the output isn't fully specified. Fix #65. 2015-01-06 07:09:45 -08:00
Bob Nystrom a8507ca17a Merge branch 'master' of https://github.com/munificent/wren
Conflicts:
	AUTHORS
2015-01-05 21:58:23 -08:00
Bob Nystrom 2abf70f8d6 Merge pull request #69 from pwoolcoc/add-pwoolcoc-to-authors
Add myself to the AUTHORS file
2015-01-05 20:52:01 -08:00
Kyle Marek-Spartz ca9b399d56 Make Python scripts Python 2 and 3 compatible. An alternative to #71. 2015-01-05 20:09:23 -06:00
Paul Woolcock 6aed3ec64c Add myself to the AUTHORS file 2015-01-05 11:02:52 -05:00
Bob Nystrom 84b2dbf48e Merge pull request #66 from txgruppi/master
Updated description of logical or
2015-01-05 07:46:26 -08:00
txgruppi 59c2024384 Updated description of logical or 2015-01-05 09:42:34 +00:00
Bob Nystrom 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
Bob Nystrom 52bd38f3bd Don't double report lexer errors. 2015-01-04 13:10:46 -08:00
Bob Nystrom 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
Bob Nystrom a9bb2387a1 Handle empty (or comment-only) files. Fix #57. 2015-01-04 13:00:53 -08:00
mauvm 4200f18f83 Rename test for invalid shebang. 2015-01-04 20:09:33 +01:00
mauvm 6c549e0cc5 Use lexError() and add test for invalid shebang. 2015-01-04 19:56:16 +01:00
Bob Nystrom 005688da96 Merge branch 'master' of https://github.com/munificent/wren 2015-01-04 10:03:16 -08:00
Bob Nystrom 728cb2cbca Gitignore shared libraries and comment makefile a bit. 2015-01-04 10:02:50 -08:00
Bob Nystrom 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
mauvm dfb381e43b Remove duplicate comment. Oops. 2015-01-04 08:52:40 +01:00
Bob Nystrom 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
Bob Nystrom a8726e6c00 SO MUCH NEW DOCS OH WOW. 2015-01-03 23:27:02 -08:00
mauvm 8a54ef9919 Add tests. 2015-01-03 20:53:17 +01:00
mauvm fa96fb0a8e Let compiler ignore shebang on first line. 2015-01-03 20:53:12 +01:00
Gavin Schulz e3e358fb61 Don't try to run an empty line in the REPL. 2015-01-03 14:25:10 -05:00
Bob Nystrom c25cfca18b Eliminate semicolons entirely. 2015-01-03 10:02:45 -08:00
Bob Nystrom c0043e78d4 Merge branch 'master' of https://github.com/munificent/wren 2015-01-02 20:17:36 -08:00
Bob Nystrom b33dcf0da5 Name the anonymous union since strict C99 doesn't allow it. 2015-01-02 20:17:10 -08:00
Bob Nystrom 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
Bob Nystrom 2abeb9ad2e Make first example correct (!). Fix #47. 2015-01-02 20:07:43 -08:00
Brian Slesinsky 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
Paul Woolcock 7cb77b7729 First try at building separate lib + binary 2015-01-02 15:24:07 -05:00
Bob Nystrom 6b510da872 Get Travis set up. 2015-01-02 08:13:51 -08:00
Bob Nystrom 526a84c4d6 Remove pointless newline. 2015-01-02 07:59:31 -08:00
Bob Nystrom 99f0bf09c3 Add README and move metrics script. 2015-01-02 07:42:08 -08:00
Bob Nystrom a1b02a04bb Clarify license. 2015-01-02 07:38:00 -08:00
Bob Nystrom f028544b53 CamelCase. 2015-01-02 07:31:02 -08:00
Paul Woolcock 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
Paul Woolcock 25b31a206a Check the return value of getline
Otherwise, `gcc` warns, which causes the build to fail
2015-01-02 09:32:29 -05:00
Bob Nystrom 50be5971a4 Fix link to embedding API. 2015-01-01 22:59:38 -08:00
Bob Nystrom 3640c66bfb Fix range in docs. 2015-01-01 22:48:43 -08:00
Bob Nystrom d65bd1382b Add gh-pages build step. 2015-01-01 20:58:36 -08:00
Bob Nystrom b876f4a51a More hacking on docs. 2015-01-01 20:45:15 -08:00
Bob Nystrom 42816c46ee Add TODO for arity getter. 2015-01-01 18:49:10 -08:00
Bob Nystrom 8ab91bf6c2 Fill in some more docs. 2015-01-01 18:48:59 -08:00
Bob Nystrom 0882897c6b Write doc for error-handling. 2015-01-01 16:02:02 -08:00
Bob Nystrom c967439ead Add Fiber.abort() method. 2015-01-01 10:40:14 -08:00
Bob Nystrom 93ced56a7a Clean up corner case for empty list range. 2014-12-31 10:34:44 -08:00
Bob Nystrom 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
Bob Nystrom 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