Commit Graph
32 Commits
Author SHA1 Message Date
underscorediscovery 57a1d809d8 docs; replace wren repo URL to point to organization 2019-02-05 18:41:31 -08:00
underscorediscovery 7cc7c715c9 docs; list; add + operator documentation 2019-02-05 18:18:38 -08:00
underscorediscovery 21024bfa13 docs; formatting and tidying
- quick clean up pass on layout and colors for clarity/legibility
- added logo to the sidebar
- fix various css things like a full height page when content is shorter, so the footer doesn't creep away from the bottom
- start using em instead of px for consistency across devices
2019-02-05 18:18:24 -08:00
Bob Nystrom 09f4beff4a Add trim methods on String:
- trim()
- trim(chars)
- trimEnd()
- trimEnd(chars)
- trimStart()
- trimStart(chars)
2018-07-15 10:48:56 -07:00
kylewcharters@gmail.com 1be76bb478 Correct method examples in Range docs 2017-10-23 13:48:43 -04:00
Bob Nystrom 1661f5368f Allow passing a value when first starting a fiber.
If the function the fiber is created from takes a parameter, the value
passed to the first call() or transfer() gets bound to that parameter.

Also, this now correctly handles fibers with functions that take
parameters. It used to leave the stack in a busted state. Now, it's a
runtime error to create a fiber with a function that takes any more
than one parameter.
2017-10-19 20:45:13 -07:00
Bob Nystrom eba0b97aa2 Merge pull request #472 from KyleCharters/master
Add Num .round
2017-10-06 07:51:55 -07:00
Bob Nystrom 2bb531d860 Tweak Fiber.error docs. 2017-10-05 06:50:45 -07:00
Kyle Charters 84f2252c68 Add Num .round 2017-09-20 20:27:02 -04:00
aaronduino 16bab57056 fix #468 2017-09-16 21:38:35 -07:00
Nathan Hourt 8f14bfb4b8 Fix typo in Num documentation
The documentation for the bitwise or operator described the behavior of the bitwise and operator.
2017-03-30 17:45:12 -05:00
Bob Nystrom 9f93119377 Merge branch 'take_and_skip' of https://github.com/bjorn/wren into bjorn-take_and_skip 2017-03-15 07:15:00 -07:00
Bob Nystrom 9efb18bae2 Typo: "seperator" -> "separator". 2017-03-15 07:06:07 -07:00
Andew Jones 32aa43d1df Split and replace in wren. 2017-03-07 21:15:06 -05:00
Thorbjørn Lindeijer f5d9443d0a Added Sequence.take and Sequence.skip
These lazy iterator producing methods are useful when working with
arbitrary sequences and you need to skip or take some number of elements
at the start.
2017-02-10 21:43:59 +01:00
Bob Nystrom 4fe3ad3f8b Docs for Num.log and Num.pow(). 2017-01-20 07:24:46 -08:00
Bob Nystrom 09ef904d32 Use DBL_MIN instead of DBL_EPSILON for Num.smallest. 2016-08-27 17:25:32 -07:00
Bob Nystrom b8b0f36521 Merge branch 'num-properties' of https://github.com/Nelarius/wren into Nelarius-num-properties 2016-08-27 17:18:21 -07:00
Johann Muszynski 6ee1743429 Update Num class doc 2016-08-04 21:17:45 +03:00
Bob Nystrom 500c7b0426 Add List constructors to docs. 2016-08-04 06:28:41 -07:00
Bob Nystrom 6845328661 Tweak String.indexOf(_,_) a bit.
- Simplify the arithmetic a little in wrenStringFind().
- Allow the start to be negative.
- Even more tests.
- Docs.
2016-08-03 22:19:34 -07:00
Johann Muszynski d192a9a02d Add doc mention of new Num properties 2016-07-10 23:26:23 +03:00
Bob Nystrom 8657a42c21 Merge pull request #366 from underscorediscovery/patch-2
fix range docs to introduction
2016-05-27 07:23:41 -07:00
Sven Bergström 5a8cacfbe4 fix range docs to introduction
Is that the link that was intended?
2016-05-21 00:24:41 -02:30
Sven Bergström b57fd6431a iterator protocol relative to core/ not modules/ 2016-05-21 00:21:47 -02:30
Bob Nystrom befe90501b Start writing comprensive embedding docs.
- Break embedding out into a separate section with multiple pages.
- Document the constraints on the API.
- Document the slot array and WrenValue.

Still lots more to do, but getting there...
2016-05-16 08:09:14 -07:00
Bob Nystrom 919605b7ba Couple of tiny tweaks. 2016-02-24 06:52:12 -08:00
Bob Nystrom 2c4e497c54 Fix a couple of doc bugs. 2016-02-22 07:48:53 -08:00
Mathieu Gagnon a2e03279e2 Fix abs code sample in doc/site/modules/core/num
-123.abs returns -123 because the dot has higher precedence so it's
 really -(123.abs).
2016-02-11 17:58:09 -05:00
Bob Nystrom 6e2ec92e0d Fix parameter format in docs. 2015-12-29 22:35:14 -08:00
Bob Nystrom 902289d7dd Document the "random" module. 2015-11-09 07:37:06 -08:00
Bob Nystrom 82706b74fc Reorganize site to make room for documenting the other built-in modules. 2015-11-08 13:31:22 -08:00