Commit Graph

11 Commits

Author SHA1 Message Date
Bob Nystrom
6bda720b71 feat: replace all :::dart code fence markers with :::wren in documentation
Add a custom Pygments lexer plug-in for Wren syntax highlighting, update contributing docs with setup instructions for the lexer, and switch every `:::dart` annotation across all doc/site markdown files to `:::wren` so code examples render with the correct language grammar.
2015-09-22 14:59:54 +00:00
Bob Nystrom
aa72900a9e feat: replace IO class with System class and remove separate IO module
- Delete wren_io.c, wren_io.h, and io.wren source files
- Remove multi-arity print overloads and IO.read/IO.time methods
- Add System class with print, printAll, write, writeAll methods to core.wren
- Update all documentation examples and README to use System.print instead of IO.print
2015-09-15 14:46:09 +00:00
Bob Nystrom
e19ff59cce feat: replace new keyword with this constructor syntax and ClassName.new() calls across core library and docs
Replace all uses of the `new` reserved word with explicit `this new()` constructor definitions and `ClassName.new()` instantiation calls in builtin/core.wren. Update all documentation files (classes.markdown, fiber.markdown, fn.markdown, sequence.markdown, error-handling.markdown, expressions.markdown, fibers.markdown, functions.markdown) to reflect the new constructor syntax, removing `new` keyword examples and replacing them with `ClassName.new()` patterns and `this new()` definitions.
2015-07-10 16:18:22 +00:00
Bob Nystrom
7bef4e0001 docs: condense operator precedence table by merging rows and abbreviating headers 2015-03-13 14:56:47 +00:00
Bob Nystrom
005a616cd6 style: refactor precedence table styles and add associativity mention in expressions doc 2015-03-13 14:24:45 +00:00
hachibu
f281c59a59 docs: replace plain-text operator precedence list with styled HTML table in expressions documentation 2015-03-06 15:07:48 +00:00
Bob Nystrom
5382fa05d7 feat: allow empty argument list methods in calls, definitions, and docs
- Compile empty `()` as a valid method signature distinct from no parentheses
- Update `call()`, `clear()`, `run()`, `try()`, and `yield()` to use empty argument lists
- Revise documentation across multiple files to reflect new signature semantics
2015-02-27 07:08:36 +00:00
Kyle Marek-Spartz
57ad565b64 fix: correct spelling of "brethren" in two documentation files 2015-01-12 23:39:41 +00:00
Kyle Marek-Spartz
74a6b32d7f docs: fix typo in expressions documentation changing "they behavior" to "their behavior" 2015-01-08 15:32:50 +00:00
txgruppi
3247db53c0 docs: correct logical or documentation to say left-hand true returns left-hand instead of false 2015-01-05 09:42:34 +00:00
Bob Nystrom
98d358142d docs: reflow all markdown files to 80-char width and add control-flow page with branching/looping content 2015-01-04 07:27:02 +00:00