1
0
forked from Mirror/wren
Commit Graph

406 Commits

Author SHA1 Message Date
2d449cd4c9 docs; add blog section with simple rss
- rss is hand written right now
- see the hello wren blog post for reasoning
2019-02-05 18:15:29 -08:00
d01905ef80 Fix broken link for error handling 2018-12-19 12:39:52 -08:00
09f4beff4a Add trim methods on String:
- trim()
- trim(chars)
- trimEnd()
- trimEnd(chars)
- trimStart()
- trimStart(chars)
2018-07-15 10:48:56 -07:00
ef5f38b48f Turn on auto-deploying docs.
Looks like it's working now. <crosses fingers>
2018-07-14 21:35:33 -07:00
52f08aec05 Install the custom pygments lexer using python3. 2018-07-14 11:44:53 -07:00
4c9209c1b2 Update file.markdown
minor fix to close() language
2018-06-03 23:06:40 -05:00
64f8bf7ae3 Merge pull request #524 from bjorn/master
Small documentation fixes
2018-04-25 21:09:48 -07:00
372cd3e197 Small documentation fixes 2018-04-06 10:34:12 +02:00
4442b37411 fixed typo, function declares data, body uses file 2018-04-05 23:02:30 +02:00
7487eeab49 Merge pull request #515 from kjk/patch-1
fix bindForeignMethod() example
2018-03-26 07:52:26 -07:00
e1f105fd8e Merge pull request #484 from feiss/patch-1
parameter missing in errorFn
2018-03-22 10:31:01 -07:00
bcc31e63a2 add() method is bound as static but bindForeignMethod responds to non-static 2018-03-20 17:13:28 -07:00
f866ee7003 Vendor GYP and libuv into the repo.
Instead of dynamically downloading these as needed during a build, this
checks in those two dependencies directly into the Wren repo. That's a
little lame because users of Wren who aren't building the CLI don't
actually need them, but they aren't too big, so it's not a huge deal.

It makes builds (particularly on Travis) more reliable, because they
don't have to pull down additional content over the network.
2018-03-14 07:27:29 -07:00
d1a772e820 parameter missing in errorFn 2017-11-14 16:56:16 +01:00
7b326d804b Merge pull request #475 from KyleCharters/master
Correct method examples in Range docs
2017-10-31 16:24:58 -07:00
b45cab28d1 Fix embedding path in getting started. 2017-10-31 21:47:51 +01:00
1be76bb478 Correct method examples in Range docs 2017-10-23 13:48:43 -04:00
88ff8f90ef Merge pull request #474 from minirop/typo-in-doc
missing language specifier and variable declaration
2017-10-19 22:12:25 -07:00
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
e043a95e4e Edit docs. Docs docs docs. 2017-10-19 19:52:05 -07:00
6444a5f5db missing language specifier and variable declaration 2017-10-19 21:17:40 +02:00
f8076c2c1c Revise embedding docs. 2017-10-19 07:02:18 -07:00
e2e16dc4a9 Finish off the rest of the embedding docs.
A first draft of them, at least. They probably need some editing.
Remove the "Application Lifecycle" page for now. I do intend to add
some docs about how fibers interact with the host app, but I can do
that later.
2017-10-17 08:26:06 -07:00
2021e086bf Don't automatically flush on every System.write().
It's handy because it ensures writes are flushed to the terminal before
any calls to read from stdin, but it's also gratuitously slow.

Instead, added a Stdout class with an explicit flush() method that can
be called by the user.

Fix #445.
2017-10-09 07:16:05 -07:00
eba0b97aa2 Merge pull request #472 from KyleCharters/master
Add Num .round
2017-10-06 07:51:55 -07:00
2bb531d860 Tweak Fiber.error docs. 2017-10-05 06:50:45 -07:00
84f2252c68 Add Num .round 2017-09-20 20:27:02 -04:00
16bab57056 fix #468 2017-09-16 21:38:35 -07:00
e9896544c8 Typo fix: is only be -> will only be 2017-04-04 15:29:53 -05:00
a01b8d12bd Typo fix: askes -> asks 2017-03-30 20:20:02 -05:00
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
b32c445f96 Show constructing "blondie" instance in functions doc.
Fix #432.
2017-03-23 21:22:07 -07:00
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
9efb18bae2 Typo: "seperator" -> "separator". 2017-03-15 07:06:07 -07:00
9fcdf3dc0a Merge branch '201703_split_replace' of https://github.com/JonesAndrew/wren into JonesAndrew-201703_split_replace 2017-03-15 07:04:56 -07:00
32aa43d1df Split and replace in wren. 2017-03-07 21:15:06 -05:00
f14d13a6bf Mention libm in docs. 2017-03-02 07:17:03 -08:00
22ae382ac5 Proofread configuring the VM. 2017-02-12 14:58:16 -08:00
18f8f48bb6 Docs for configuring the VM. 2017-02-12 11:04:38 -08:00
996a607026 More work on embedding docs.
- Revise the earlier pages and tighten them up some.
- Write the docs for foreign methods.
2017-02-12 10:14:37 -08:00
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
4fe3ad3f8b Docs for Num.log and Num.pow(). 2017-01-20 07:24:46 -08:00
479ca7ec6d Improve explanation of single-expression blocks.
Fix #390.
2017-01-12 11:05:03 -08:00
0a2bc4a8a7 More copy editing. 2017-01-12 07:11:01 -08:00
fc6a7e5d18 Tweak some docs a little. 2017-01-12 07:10:19 -08:00
09ef904d32 Use DBL_MIN instead of DBL_EPSILON for Num.smallest. 2016-08-27 17:25:32 -07:00
b8b0f36521 Merge branch 'num-properties' of https://github.com/Nelarius/wren into Nelarius-num-properties 2016-08-27 17:18:21 -07:00
0a4f1b370c Revise embedding docs a bit. 2016-08-26 07:11:50 -07:00
6ee1743429 Update Num class doc 2016-08-04 21:17:45 +03:00
500c7b0426 Add List constructors to docs. 2016-08-04 06:28:41 -07:00