Commit Graph

9 Commits

Author SHA1 Message Date
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