3247db53c0
docs: correct logical or documentation to say left-hand true returns left-hand instead of false
txgruppi2015-01-05 09:42:34 +00:00
e07fe5149b
docs: add AUTHORS file and expand contributor guide with detailed workflow
Bob Nystrom2015-01-04 21:36:23 +00:00
b61e55d4c9
fix: skip duplicate lexer error reporting in compiler error handler
Bob Nystrom2015-01-04 21:10:46 +00:00
96d893a637
feat: ignore shebang lines starting with #! on first line of source
Bob Nystrom2015-01-04 21:02:42 +00:00
ed31544ead
fix: handle empty and comment-only files by removing early skip in repl and compiler
Bob Nystrom2015-01-04 21:00:53 +00:00
9fe43fec45
feat: include method arity in missing method runtime error messages
Gavin Schulz2015-01-04 19:42:11 +00:00
25711544cf
chore: rename test case for invalid shebang to clarify its purpose
mauvm2015-01-04 19:09:33 +00:00
6a69382275
refactor: inline unmatchedChar logic into nextToken and add shebang error test
mauvm2015-01-04 18:56:16 +00:00
a6bef8586f
fix: skip wrenInterpret call on empty input line in repl loop
Bob Nystrom2015-01-04 18:03:16 +00:00
1e49dc666a
chore: add shared library artifacts to gitignore and clarify makefile comment for lib build
Bob Nystrom2015-01-04 18:02:50 +00:00
f1e4871521
feat: add static library targets and exclude main.o from shared objects
Bob Nystrom2015-01-04 17:57:05 +00:00
685f791fb0
fix: remove duplicate comment in unmatchedChar function in wren_compiler.c
mauvm2015-01-04 07:52:40 +00:00
0451059109
fix: skip wrenInterpret call when REPL input is empty newline
Bob Nystrom2015-01-04 07:40:20 +00:00
98d358142d
docs: reflow all markdown files to 80-char width and add control-flow page with branching/looping content
Bob Nystrom2015-01-04 07:27:02 +00:00
f59c67cc50
test: add shebang test cases for wren scripts
mauvm2015-01-03 19:53:17 +00:00
9828fafee7
feat: ignore shebang lines starting with #! on first line in compiler lexer
mauvm2015-01-03 19:53:12 +00:00
7048facaa4
fix: skip wrenInterpret call when REPL input is empty line
Gavin Schulz2015-01-03 19:25:10 +00:00
1951059c8f
feat: remove semicolon token from lexer and treat it as invalid syntax
Bob Nystrom2015-01-03 18:02:45 +00:00
3b63f25690
docs: update error-handling doc to show "Caught error:" prefix in example output
Bob Nystrom2015-01-03 04:17:36 +00:00
1663d4d95c
fix: name anonymous union in Method struct to comply with strict C99
Bob Nystrom2015-01-03 04:17:10 +00:00
c69be6012a
fix: correct example output for catching and printing an error in error-handling docs
Bob Nystrom2015-01-03 04:09:43 +00:00
2d7b4f951c
fix: correct Wren class syntax in README and doc site examples to use getter methods
Bob Nystrom2015-01-03 04:07:43 +00:00
09f97b1b51
fix: correct printed error output in error-handling doc example to match source code
Brian Slesinsky2015-01-02 22:12:53 +00:00
820faaa6b5
feat: separate library and binary builds with static archive targets
Paul Woolcock2015-01-02 19:59:52 +00:00
6d1801603c
feat: add Travis CI config and fail-exit in test script
Bob Nystrom2015-01-02 16:13:51 +00:00
464a2139b1
fix: remove embedded newline from "small" in Wren class adjectives array
Bob Nystrom2015-01-02 15:59:31 +00:00
e820580f73
docs: add README with Wren language overview and feature highlights
Bob Nystrom2015-01-02 15:42:08 +00:00
52677edf48
fix: extend copyright year range and clarify permission notice inclusion in binary distributions
Bob Nystrom2015-01-02 15:38:00 +00:00
f069a38228
style: rename local variable num_read to numRead and reorder feof check in runRepl
Bob Nystrom2015-01-02 15:31:02 +00:00
361e911897
fix: move -lm linker flag after object files in Makefile
Paul Woolcock2015-01-02 13:10:46 +00:00
7c25b4e187
fix: check getline return value to suppress gcc warning and fix build failure
Paul Woolcock2015-01-02 13:10:03 +00:00
374bb4aed9
fix: correct broken link to embedding API documentation in site index
Bob Nystrom2015-01-02 06:59:38 +00:00
9c286204ff
fix: correct range operator example in values documentation from .. to ...
Bob Nystrom2015-01-02 06:48:43 +00:00
5c867fbc49
feat: add gh-pages make target to build docs and copy to gh-pages directory
Bob Nystrom2015-01-02 04:58:36 +00:00
722ca8f61d
docs: expand contributing guide with MIT license and GitHub links, reword error handling and performance sections
Bob Nystrom2015-01-02 04:45:15 +00:00
0868cf1d8c
chore: add TODO comment for arity getter in wren_core.c
Bob Nystrom2015-01-02 02:49:10 +00:00
151b352bee
docs: expand embedding API, functions, lists, maps, and looping documentation with examples and clarifications
Bob Nystrom2015-01-02 02:48:59 +00:00
0a54f68ad3
docs: add comprehensive error-handling documentation covering syntax and runtime errors with examples
Bob Nystrom2015-01-02 00:02:02 +00:00
0f5eb1885e
feat: add Fiber.abort() method to abort fiber with error message
Bob Nystrom2015-01-01 18:40:14 +00:00
d287d084ed
refactor: simplify empty list range check in list_subscript native
Bob Nystrom2014-12-31 18:34:44 +00:00
0fafa4bd07
refactor: replace integer stack index with pointer for stack top in fiber
Bob Nystrom2014-12-31 18:34:27 +00:00
d34cbd33ee
perf: cache frame stack start pointer in local variable to reduce memory accesses
Bob Nystrom2014-12-08 14:57:36 +00:00
ee9d10f5f5
fix: update benchmark chart values for method call and delta blue tests
Bob Nystrom2014-12-07 22:34:17 +00:00
d224721f79
feat: store class reference directly in Obj struct and inline class lookup for method dispatch
Bob Nystrom2014-12-07 22:29:50 +00:00
520e841044
feat: add specialized LOAD_LOCAL_0..8 instructions to skip arg byte decode
Bob Nystrom2014-12-07 03:59:11 +00:00
a665e14804
feat: add regression test for function with 8195 constants exceeding limit
Bob Nystrom2014-12-07 00:39:39 +00:00
77bddf8f0a
refactor: extract wrenNewUninitializedString to avoid passing NULL to wrenNewString for empty buffers
Bob Nystrom2014-12-06 18:04:46 +00:00
9b498b4638
fix: ensure all switch and unreachable paths return a value in release builds
Bob Nystrom2014-12-02 05:36:06 +00:00
306c33f01c
fix: wrap ASSERT in do-while and add UNREACHABLE macro for GCC compatibility
Bob Nystrom2014-11-28 19:21:01 +00:00
3266491cf5
fix: correct break statement instruction size from 2 to 3 in endLoop to prevent code walker from misinterpreting arguments
Bob Nystrom2014-11-27 02:33:54 +00:00
d9a42f21ba
fix: add missing -lm link flag and fix GCC warnings for getline and switch coverage
Bob Nystrom2014-11-26 22:03:05 +00:00
d60068db56
feat: add Fiber.try() method for catching errors across fiber boundaries
Bob Nystrom2014-10-15 13:36:42 +00:00
d4a858da43
style: darken site color palette and remove left margin from main paragraphs and pre blocks
Bob Nystrom2014-10-04 16:57:40 +00:00
c427ca4c10
style: shift all SCSS color variables from 200° to 210° hue and adjust link/string saturation and lightness
Bob Nystrom2014-09-14 16:39:44 +00:00
ee05fb67b0
feat: replace placeholder core-libraries doc with full core-library reference and refine site design
Bob Nystrom2014-08-24 16:09:10 +00:00
235518637a
style: update site color scheme, typography, and copy across documentation pages
Bob Nystrom2014-08-19 14:35:20 +00:00
5055e1fb87
chore: reorder Makefile targets and add comments for build steps
Bob Nystrom2014-04-26 15:07:03 +00:00
4d413f3473
fix: add null check when walking upvalue list in captureUpvalue
Bob Nystrom2014-04-25 00:52:53 +00:00
8abbc4197c
feat: add MAX_VARIABLE_NAME limit and improve field overflow error message
Bob Nystrom2014-04-22 14:06:26 +00:00
74ca0d8aad
style: replace hardcoded column classes with semantic nav-column/main-column and add responsive breakpoints
Bob Nystrom2014-04-21 04:42:17 +00:00
bbd4cc0f56
feat: add benchmark chart visualization to performance page
Bob Nystrom2014-04-21 04:04:41 +00:00
7ee9987ab3
docs: remove comparison to Python/C# generators and merge fiber scheduling paragraphs in fibers doc
Bob Nystrom2014-04-20 03:33:49 +00:00
e665d4a9d3
feat: add closure test for shadowing closed-over variable with local
Bob Nystrom2014-04-20 00:48:06 +00:00
963773ecbc
test: add super call tests for arity dispatch and missing method errors
Bob Nystrom2014-04-19 18:51:36 +00:00
29f4b8167c
feat: add zero-arg IO.print overload and remove newline skipping in parameter parsing
Bob Nystrom2014-04-19 18:44:51 +00:00
15560a95f6
chore: move truthiness tests from if/ to for/ directory with Iter class
Bob Nystrom2014-04-19 18:41:21 +00:00
818551fd4a
feat: add category metadata to doc pages and switch code blocks from wren to dart
Bob Nystrom2014-04-16 15:00:42 +00:00
f2edb03389
docs: clarify fiber scheduling and Lua coroutine comparison in documentation
Bob Nystrom2014-04-15 13:47:16 +00:00
6ed15da597
feat: add category metadata to doc pages and switch code blocks to dart syntax
Bob Nystrom2014-04-15 04:23:46 +00:00
10b19d969b
feat: implement symmetric coroutines with fiber.call and fiber.run distinction
Bob Nystrom2014-04-14 14:23:05 +00:00
71783400ae
docs: add documentation for conditional operator, fibers, break statements, and ranges; remove placeholder usage page
Bob Nystrom2014-04-11 17:45:20 +00:00
5140d096a1
feat: add responsive layout with viewport meta, media queries, and semantic HTML elements
Bob Nystrom2014-04-11 17:44:33 +00:00
d791dd0d7c
docs: add Getting Started page with setup instructions and interactive mode examples
Bob Nystrom2014-04-09 14:53:30 +00:00
3e5fdc2250
feat: add overloaded IO.print methods accepting 2-16 arguments and printList_ helper
Bob Nystrom2014-04-09 14:48:35 +00:00
786e20ba93
fix: update delta_blue benchmark setter methods to new Wren syntax
Bob Nystrom2014-04-09 04:40:31 +00:00
985b1b9cf7
docs: add block syntax documentation, remove outdated TODOs, and add prefix ~ operator test
Bob Nystrom2014-04-09 04:18:17 +00:00
0d74b128a5
fix: enforce string type validation in string_plus and remove coercion TODO
Bob Nystrom2014-04-09 04:17:49 +00:00
fca506fdf1
feat: require parentheses around operator and setter method parameters in Wren
Bob Nystrom2014-04-09 00:54:37 +00:00
25098cd181
style: shift stylesheet color palette from warm orange to cool blue tones
Bob Nystrom2014-04-08 14:46:47 +00:00
8d1e9750b8
feat: implement List instantiation via "new" and fix inline functions to static
Bob Nystrom2014-04-08 14:31:23 +00:00
8113e0bfc0
perf: inline wrenIsBool and wrenIsObjType into header, remove from source
Bob Nystrom2014-04-08 14:17:25 +00:00
c92a12bf31
docs: recolor doc site with warm earth tones and update prose for clarity
Bob Nystrom2014-04-08 04:03:16 +00:00
c148fc307b
fix: rename PinnedObj to WrenPinnedObj for public visibility in macros
Bob Nystrom2014-04-07 14:47:58 +00:00
2aaf6e5489
chore: rename debug and feature flags to consistent WREN_DEBUG_ and WREN_USE_ prefixes
Bob Nystrom2014-04-07 14:45:09 +00:00
e1cd942656
refactor: rename SymbolTable fields and flatten struct to StringBuffer alias
Bob Nystrom2014-04-07 01:59:53 +00:00
23f5647fd8
fix: correct typo in dart reserved word list and capitalize nav link titles
Bob Nystrom2014-04-06 23:16:24 +00:00
e7d2684d30
feat: replace fixed-size global array with growable ValueBuffer to support more than 256 globals
Bob Nystrom2014-04-06 23:16:15 +00:00
f291f2ca6e
docs: replace IO.write with IO.print across multiple documentation files
Bob Nystrom2014-04-06 15:38:00 +00:00
be8c586d4b
feat: implement List.addAll() method to append elements from iterable
Bob Nystrom2014-04-06 15:37:37 +00:00
e8d31eddaf
feat: replace hand-written CSS with Sass compilation and update site design with new fonts and layout
Bob Nystrom2014-04-05 22:39:02 +00:00
e3e9178f3a
docs: add comprehensive documentation for functions in Wren language
Bob Nystrom2014-04-05 03:45:12 +00:00
059d3e4fe6
feat: replace Fiber.create constructor with new Fiber instantiation pattern
Bob Nystrom2014-04-05 01:24:55 +00:00
4c4f32b5b2
feat: validate argument type in Fn.new and add runtime error test
Bob Nystrom2014-04-05 01:13:13 +00:00
093da7befb
refactor: move newline handling from lexer into parser grammar rules
Bob Nystrom2014-04-04 14:51:18 +00:00
a1365c4183
feat: unify block, function, and method body parsing to support single-expression implicit returns
Bob Nystrom2014-04-03 14:48:19 +00:00
de2650b0ba
fix: remove deprecated TOKEN_FN and old function syntax from wren compiler
Bob Nystrom2014-04-03 03:22:36 +00:00
e20da2f070
feat: migrate all function literals from fn syntax to new Fn block syntax
Bob Nystrom2014-04-03 02:41:53 +00:00
81f20caf33
feat: replace CODE_NEW instruction with instantiate method call for class and Fn
Bob Nystrom2014-04-03 00:42:30 +00:00
c606e93516
feat: convert fiber tests to use block arguments instead of anonymous function literals
Bob Nystrom2014-04-03 00:31:58 +00:00
5a017d17de
feat: add block argument parsing with pipe-delimited parameters in method calls
Bob Nystrom2014-04-03 00:26:39 +00:00