Commit Graph

13 Commits

Author SHA1 Message Date
Bob Nystrom
5e63e65752 docs: flesh out Range class docs, fix grammar, add smarty plugin, and improve CLI description 2015-09-23 04:19:38 +00:00
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
c4a7ad9d02 docs: clarify UTF-8 indexing explanation and fix punctuation in string and values documentation 2015-03-28 03:59:15 +00:00
Bob Nystrom
c3d0b66630 feat: add raw byte access methods and \x escape to String class
Add `byteAt(index)`, `codePointAt(index)`, and `bytes` sequence to String,
enabling direct byte-level manipulation of UTF-8 encoded strings. Introduce
`\x` hex escape sequence in string literals for specifying raw byte values.
Refactor Unicode escape parsing into a generic `readHexEscape` function
supporting variable digit counts. Implement `wrenUtf8Decode` utility for
decoding UTF-8 sequences from byte buffers. Add comprehensive tests for
`byteAt` including boundary conditions and error cases.
2015-03-28 03:44:07 +00:00
Bob Nystrom
1d195f13ea docs: add core library overview, map class docs, and link value types to core classes 2015-01-25 19:08:13 +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
Bob Nystrom
9c286204ff fix: correct range operator example in values documentation from .. to ... 2015-01-02 06:48:43 +00:00
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
1464007327 docs: add watchdocs target, stub pages for fibers/lists/maps, fix class example, and move build output to build/docs 2014-01-30 14:51:52 +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
67aea3f676 docs: add flow-control and values documentation pages with updated template and build script 2013-12-04 15:46:41 +00:00