1
0
forked from Mirror/wren
Commit Graph

417 Commits

Author SHA1 Message Date
c572345c3c &infinity; is not a valid HTML symbol - use ∞ (#863) 2020-12-03 19:48:49 -08:00
89c5e22480 add Num.tau 2020-12-03 13:20:15 -08:00
8361217369 Num; add min, max and clamp 2020-12-03 13:18:13 -08:00
38f50fe091 List; add swap(index0, index1) 2020-12-03 13:17:53 -08:00
62009870a8 List; add indexOf(value) 2020-12-03 13:17:26 -08:00
3d5e68fc01 Added List.sort(comp) to List module (#802) 2020-12-03 11:59:07 -08:00
84b29e6995 Add userData pointer to reallocateFn (#788)
* Add userData ptr to all reallocateFn calls
* Check that userData is correctly passed
* Update AUTHORS
2020-12-03 11:46:22 -08:00
a11d66cbd3 WIP wren/core: Add DEF_NUM_CONSTANT (with Num::infinity and Num::nan). (#781)
* wren/vm: Add "wren_math.h".
* wren/core: Add DEF_NUM_CONSTANT.
* wren/core: Add `Num::infinity` constant.
* wren/core: Add `Num::nan` constant.
2020-12-03 11:37:53 -08:00
59ee326523 Added a quick explanation of the continue keyword (#854)
* Added a quick explanation of the continue keyword
2020-12-03 11:29:52 -08:00
3e0f71b742 [0.4.0] Import as (#775)
* Add import "..." for Variable as OtherName
2020-12-03 09:34:36 -08:00
6bd2f810e2 [0.4.0] Introduce WrenLoadModuleResult, fix unfreed strings from host. (#778) 2020-12-03 09:27:54 -08:00
f5339993ce Add support for Fiber.try(_) (#835)
* Add support for Fiber.try(_)
* Add documentation for Fiber.try(_)
* Add another test for Fiber.try(_)
2020-12-03 08:21:37 -08:00
556eeac86e Fix broken link (#799)
The Variables guide linked to `/modules.html`, but the page talking about modules is `/modularity.html`
2020-11-25 22:49:52 -08:00
94e4888b6a Fix link in null.markdown (#848) 2020-11-25 21:09:37 -08:00
f769599bc6 docs; fix random module docs missing a closing tag (thanks @totallyRonja) 2020-08-29 12:03:46 -07:00
039150efeb docs; fix example formatting 2020-07-30 09:24:23 -07:00
81bfbfce23 fix issue with docs clearing the writeFn from the config. add complete embedding example to docs + repo 2020-07-30 09:09:15 -07:00
433fbc4019 core; num; add exp & log2
I've had a couple use cases in time that the code is significantly clearer with these, and makes porting less error prone
2020-07-10 19:38:45 -07:00
1623654465 docs; fix embedding tutorial missing a write function so nothing shows up when learning. 2020-06-30 07:40:12 -07:00
e539279121 docs; fix // comments properly this time
...
2020-06-17 09:48:12 -07:00
7651459dfb add // comments to code highlighting, but not with errors in the code 2020-06-17 09:36:34 -07:00
d02903b7d0 add // comments to code highlighting 2020-06-17 09:20:15 -07:00
88043a7cb9 Change wren to wren_cli (#765) 2020-06-17 07:57:03 -07:00
7983082b71 Support positive sign in scientific notation (#706)
* Support positive sign in scientific notation
* Add exponent with positive sign to docs
2020-06-13 21:37:30 -07:00
9fb6d02b5c main branch reference fixes 2020-06-12 10:11:49 -07:00
e45a9d0382 removed localhost (#758) 2020-06-09 17:03:36 -07:00
b694b2231c docs; fix blog template missing links and wrong paths 2020-06-06 10:32:44 -07:00
8341f61cdb docs; nitpicks 2020-06-05 20:11:32 -07:00
d69d7e482d Added description of to the Num class docs (#726) 2020-06-05 15:08:52 -07:00
7b56dce4f0 Fix example C code (#745) 2020-06-05 15:08:25 -07:00
d585a080e8 Merge pull request #751 from wren-lang/0.3.0-refactor
0.3.0 refactor
2020-06-05 14:57:20 -07:00
51ef6ff5fa docs; fix missing blog link and arrangement in small mode
thanks Brian Slesinsky
2019-10-02 23:41:39 -07:00
faff0d6ca4 blog; formatting 2019-09-30 23:03:45 -07:00
8ce631e80e blog; add 0.2.0/0.3.0 post 2019-09-30 22:48:04 -07:00
265bcc6780 Cleaned up some documentation typos. -mw 2019-09-30 09:02:55 -05:00
7eac8e6a37 docs; encapsulation legibility fixes 2019-09-18 01:43:34 -07:00
fa2a3d9576 Clarify modulus documentation for sign
closes #695
2019-09-17 22:27:47 -07:00
0e67667010 Update Encapsulation documentation to be clearer
fixes #691
2019-09-17 22:18:55 -07:00
451098db05 docs: Fixed broken link to overview about maps
Closes #672
2019-04-09 17:44:15 +02:00
fe3aa60601 Update note about path to visual studio solution. 2019-03-24 21:36:21 +01:00
a437e804ba Added String.fromByte with docs and unit test 2019-02-27 08:10:54 -05:00
9347c5c61a Update Call to WrenInterpret in Docs
Fixes #599 by updating the arguments to WrenInterpret to match the new
API.
2019-02-12 06:54:58 +00:00
6ac829947a blog; fix twitter link to munificentbob (thanks @noelfb) 2019-02-07 20:40:44 -08:00
25a1431fa7 docs; add some links to blog post 2019-02-07 13:07:21 -08:00
27a08151e7 blog; clarify weird grammar (sponge) 2019-02-05 19:39:38 -08:00
57a1d809d8 docs; replace wren repo URL to point to organization 2019-02-05 18:41:31 -08:00
7cc7c715c9 docs; list; add + operator documentation 2019-02-05 18:18:38 -08:00
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
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