Commit Graph

15 Commits

Author SHA1 Message Date
Thorbjørn Lindeijer
343bfa7a84 feat: add Sequence.each method for side-effect iteration without list creation
Add a new `each` method to the Sequence class that iterates over elements
calling a provided function for each, serving as a side-effect-only
alternative to `map` when the resulting list is not needed. This is
particularly important for the upcoming change where `map` will return a
new sequence instead of mutating in place, as demonstrated by updating
the README and index examples to use `each` with Fiber.yield. Includes
documentation in the Sequence API reference and three new test cases
covering normal iteration, empty sequences, and non-function argument
error handling.
2015-03-28 19:35:20 +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
Bob Nystrom
00dca683b7 docs: update README and site index to mention Wren compiles cleanly as C++98 or later 2015-01-16 05:15:21 +00:00
Bob Nystrom
e07fe5149b docs: add AUTHORS file and expand contributor guide with detailed workflow
- Create AUTHORS file listing Robert Nystrom as initial contributor
- Rewrite README to emphasize Wren as concurrent scripting language with fiber examples
- Expand contributing.markdown with structured sections for finding tasks and making changes
- Update index.markdown with call-to-action links for trying and contributing
2015-01-04 21:36:23 +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
2d7b4f951c fix: correct Wren class syntax in README and doc site examples to use getter methods 2015-01-03 04:07:43 +00:00
Bob Nystrom
464a2139b1 fix: remove embedded newline from "small" in Wren class adjectives array 2015-01-02 15:59:31 +00:00
Bob Nystrom
374bb4aed9 fix: correct broken link to embedding API documentation in site index
The link target for the embedding API reference was pointing to the wrong
filename (`embedding.html` instead of `embedding-api.html`), causing a 404
error when users clicked the link. This commit updates the href to match the
actual generated documentation file.
2015-01-02 06:59:38 +00:00
Bob Nystrom
235518637a style: update site color scheme, typography, and copy across documentation pages 2014-08-19 14:35:20 +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
d791dd0d7c docs: add Getting Started page with setup instructions and interactive mode examples
Add a comprehensive Getting Started guide covering Unix/Mac installation via git clone and make, interactive mode usage with code examples, and script execution with a Mandelbrot fractal demo. Also update the site navigation template to link the new page, add placeholder pages for Embedding, Error Handling, and Getting Involved, fix the index page link from "usage.html" to "embedding.html", and reorder the types section in the nav to list Fibers before Functions.
2014-04-09 14:53:30 +00:00
Bob Nystrom
65075d433c docs: reword code size limit from 5,000 to 4,000 semicolons in index.markdown 2014-02-19 15:14:46 +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
d0d92971d8 fix: correct example code in site index to use IO.print instead of io.write 2014-01-12 18:58:13 +00:00
Bob Nystrom
67c9435b03 feat: add initial documentation site with markdown pages and build script 2013-11-22 05:38:36 +00:00