Commit Graph

8 Commits

Author SHA1 Message Date
Bob Nystrom
6ed15da597 feat: add category metadata to doc pages and switch code blocks to dart syntax
Add `^category` front matter to all language, types, and reference doc pages for site navigation restructuring. Replace `:::wren` and `:::java` code block annotations with `:::dart` across multiple files. Create new stub pages for core-libraries, embedding-api, and contributing under the reference category. Remove the old embedding and getting-involved stub pages.
2014-04-15 04:23:46 +00:00
Bob Nystrom
71783400ae docs: add documentation for conditional operator, fibers, break statements, and ranges; remove placeholder usage page 2014-04-11 17:45:20 +00:00
Bob Nystrom
985b1b9cf7 docs: add block syntax documentation, remove outdated TODOs, and add prefix ~ operator test 2014-04-09 04:18:17 +00:00
Bob Nystrom
f291f2ca6e docs: replace IO.write with IO.print across multiple documentation files 2014-04-06 15:38:00 +00:00
Kyle Marek-Spartz
3b9478908f docs: update documentation examples to use uppercase IO instead of lowercase io 2014-02-16 17:28:56 +00:00
Bob Nystrom
73b92ca7f3 feat: add conditional operator and fn toString to wren compiler and core
Add TOKEN_QUESTION token type and implement conditional() parsing function in wren_compiler.c to support the ternary conditional operator (condition ? then : else). Register fn_toString native in wren_core.c to return "<fn>" string for function objects. Include comprehensive test suite covering precedence, short-circuit evaluation, and error cases for missing tokens.
2014-02-15 19:36:01 +00:00
Bob Nystrom
781ccf3fb6 docs: revise branching, classes, index, looping, qa, syntax docs and add concurrency/error-handling nav entries 2014-01-21 05:44:51 +00:00
Bob Nystrom
4026878ac6 docs: add branching, looping, classes, method calls, and Q&A documentation with updated navigation 2013-12-28 17:37:41 +00:00