Commit Graph
579 Commits
Author SHA1 Message Date
Marco Lizza f628de1201 Merge remote-tracking branch 'munificent/master' into 'msvc-project-and-compatibility' branch for fix #128. 2015-01-22 10:13:16 +01:00
Bob Nystrom b05e5f9c73 Merge pull request #132 from edsrzf/fix-mod-precedence
Fix precedence of % operator
2015-01-21 13:50:09 -08:00
Evan Shaw 513af6df65 Fix precedence of % operator
It previously had the same precedence as + and -.
2015-01-22 09:49:53 +13:00
Bob Nystrom bdc3439a71 Remove old "pinned" terminology. 2015-01-21 08:02:18 -08:00
Bob Nystrom 1d0f6a5033 Get rid of totally broken WREN_PIN. Fix #128. 2015-01-21 07:56:06 -08:00
Marco Lizza 244218286e Updating AUTHORS file. =) 2015-01-21 11:06:22 +01:00
Marco Lizza 61674112c9 Addressing odd Microsoft Visual Studio 2013 optimizer bug. 2015-01-21 11:01:09 +01:00
Marco Lizza 222c2d5bbb Adding Microsoft Visual Studio 2013 project and solution files. 2015-01-21 11:00:35 +01:00
Marco Lizza 73ce2b0b7e Revised headers include order. The "wren_common.h" should be included first, being a sort of "configuration" header. Then the "wren-XYZ.h" header should follow for "XYZ.c" source file. Then the other "wren_*.h" headers (in lexicographical order if possible). Al last, the standard include files. 2015-01-21 10:30:37 +01:00
Marco Lizza 991ada8919 Microsoft compiler seems not to support the computed-goto approach. 2015-01-21 10:27:27 +01:00
Marco Lizza 67da0c42f0 Fixed returning a "void" function return value (!). 2015-01-21 10:23:46 +01:00
Marco Lizza bc74c28904 Using a "char" could cause odd sign extension results. 2015-01-21 10:22:56 +01:00
Marco Lizza a45ec69f9f In MSVC the "inline" modifier is not available when compiling in plain-C. 2015-01-21 10:22:18 +01:00
Marco Lizza bb9708a7e3 Resolving (non-standard) zero-sized array usage warning. 2015-01-21 10:21:04 +01:00
Bob Nystrom 9453acf1e6 User-defined subscript operators. 2015-01-20 18:25:54 -08:00
Bob Nystrom 311bec5b03 Mention authors on the footer! 2015-01-20 17:47:17 -08:00
Bob Nystrom 879d9d725e Add links to mailing list. 2015-01-20 17:46:52 -08:00
Bob Nystrom b6443f0301 Move XCode project under project/. 2015-01-20 17:14:30 -08:00
Bob Nystrom c63b027210 More explicit casting between Value and Obj* to satisfy 32-bit MinGW.
Fix #111.
2015-01-20 17:06:39 -08:00
Bob Nystrom d7ae2bbc4c Turn CalculatedRange into output params. 2015-01-20 15:33:21 -08:00
Bob Nystrom b55eb7de7a Merge branch 'string-range-subscript' of git://github.com/gsmaverick/wren into gsmaverick-string-range-subscript 2015-01-20 15:01:14 -08:00
Bob Nystrom d894fc3dec Tighten numeric types in intepreter:
binary_trees - wren            ..........  3563  0.28s  101.26% relative to baseline
delta_blue - wren              ..........  8162  0.12s  106.05% relative to baseline
fib - wren                     ..........  3310  0.30s  103.39% relative to baseline
for - wren                     ..........  8576  0.12s  102.16% relative to baseline
method_call - wren             ..........  6946  0.14s  107.08% relative to baseline
2015-01-20 14:41:09 -08:00
Bob Nystrom 721db7564b Remove unused return value from consume() and consumeLine(). 2015-01-20 14:40:34 -08:00
Bob Nystrom 363dff2ffd Reorganize a bit. 2015-01-20 14:00:03 -08:00
Bob Nystrom 8c3759a457 Merge branch 'feature-wrenGetArgumentBool' of git://github.com/hazbo/wren into hazbo-feature-wrenGetArgumentBool 2015-01-20 13:58:36 -08:00
Bob Nystrom eb4e50a500 Don't use -fPIC on Windows (cygwin, mingw32). 2015-01-20 13:42:46 -08:00
Harry Lawrence a65e11b9f7 Added comment for wrenGetArgumentBool 2015-01-19 14:52:30 +00:00
Harry Lawrence 2763ab3176 Implemented wrenGetArgumentBool 2015-01-19 14:40:37 +00:00
Gavin Schulz bfc2f9c0ee Adds range subscripting for strings. 2015-01-18 22:55:30 -08:00
Bob Nystrom 2a4804bbc9 Reorganize core library docs. 2015-01-18 15:36:36 -08:00
Bob Nystrom 50c0cbe8c3 Merge branch 'master' of https://github.com/munificent/wren 2015-01-18 10:20:29 -08:00
Bob Nystrom d8b678356e Raise precedence of "is". Fix #119. 2015-01-18 10:20:13 -08:00
Bob Nystrom 8a292fac9e Merge pull request #121 from zeckalpha/phony-prep
Make prep Phony
2015-01-18 10:03:13 -08:00
Kyle Marek-Spartz 9fcaddaa07 Make prep Phony 2015-01-17 20:20:05 -06:00
Bob Nystrom ea32ba5f55 Merge pull request #118 from hazbo/feature-wrenReturnBool
Feature wren return bool
2015-01-17 08:45:45 -08:00
Harry Lawrence b7d03971c6 Added comment for wrenReturnBool 2015-01-17 12:02:23 +00:00
Harry Lawrence dec4f0d1e7 Implemented wrenReturnBool in vm 2015-01-17 11:48:27 +00:00
Bob Nystrom ae97e9c3a4 Remove Linux-specific libc stuff. 2015-01-16 23:32:20 -08:00
Bob Nystrom f79f1d2b63 Show benchmarks are time, not scores. 2015-01-16 17:51:10 -08:00
Bob Nystrom fe71ddd520 Update benchmark table. 2015-01-16 07:52:51 -08:00
Bob Nystrom 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
Bob Nystrom 2a37110bd1 Don't use designated initializer. 2015-01-16 07:10:33 -08:00
Bob Nystrom 096578cc92 Reorganize docs a bit. 2015-01-16 07:04:01 -08:00
Luchs 16d2f62a24 Update reduce documentation 2015-01-16 09:53:20 +01:00
Luchs ae3045bd8d Add myself to AUTHORS 2015-01-16 09:53:14 +01:00
Luchs 82740d2668 Add a test demonstrating folding order 2015-01-16 09:48:59 +01:00
Luchs 4bc06a3acc Add reduce test for ranges 2015-01-16 09:33:23 +01:00
Luchs d764581a3d Add test for empty reduce 2015-01-16 09:29:45 +01:00
Luchs 5cfb638fd1 Use @munificent's single-argument reduce 2015-01-16 09:26:19 +01:00
Luchs 5a7b70d45c Add documentation for reduce 2015-01-16 09:24:59 +01:00