1
0
forked from Mirror/wren

29 Commits

Author SHA1 Message Date
dd1e8a00db docs; values; add note about newline normalization in docs 2021-05-21 16:30:08 -07:00
5244a9d001 Add an additional escape sequence \e. (#963) 2021-04-08 10:16:24 -07:00
9e86b0d26a clarify the list of escapes to show the whole list 2021-04-08 10:11:01 -07:00
d38c047a5a documentation revisions and missing pieces 2021-04-07 20:54:18 -07:00
e3c76a3e76 Raw strings now ignore whitespace on both ends for consistency and clarity
added more tests, updated documentation
2021-04-04 22:28:57 -07:00
8304fd5ecc docs; strings; fix formatting for example 2021-04-04 14:02:07 -07:00
981ea4adf1 Add raw string literals
Also document + test multi line literals.
2021-04-04 13:52:32 -07:00
4ac41c36db Added hexadecimal number literals example (#876) 2021-01-30 21:32:42 -08: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
d585a080e8 Merge pull request #751 from wren-lang/0.3.0-refactor
0.3.0 refactor
2020-06-05 14:57:20 -07: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
d4662ebdfc Fix typo 2016-05-03 14:43:59 -04:00
03163a760f Document interpolation. 2015-11-21 09:20:50 -08:00
82706b74fc Reorganize site to make room for documenting the other built-in modules. 2015-11-08 13:31:22 -08:00
931d9ca4d3 Reorganize the language guide.
- Rename "Expressions" -> "Method Calls".
- Organize "Types" and "Language" into a single linear narrative.
- Mobile-specific navigation to handle the longer guide.
- Rename "Fibers" -> "Concurrency".
- Get rid of duplicate stuff about signatures in "Classes".
- Add next/prev links to each page in the guide.
- Move "Contributing" and "Community" up to the top level.
- Move the precendence table to a separate "Grammar" page.
- Lots of other little stuff.
2015-11-07 11:09:04 -08:00
545a4cbf7e Style example output and errors in the docs. 2015-10-18 15:56:52 -07:00
a944ead5b4 Give the docs some love. 2015-09-22 21:19:38 -07:00
505b48fdac Add a real Pygments lexer for Wren (finally!). 2015-09-22 07:59:54 -07:00
58e4d26648 "IO" -> "System".
Get rid of the separate opt-in IO class and replace it with a core
System class.

- Remove wren_io.c, wren_io.h, and io.wren.
- Remove the flags that disable it.
- Remove the overloads for print() with different arity. (It was an
  experiment, but I don't think it's that useful.)
- Remove IO.read(). That will reappear using libuv in the CLI at some
  point.
- Remove IO.time. Doesn't seem to have been used.
- Update all of the tests, docs, etc.

I'm sorry for all the breakage this causes, but I think "System" is a
better name for this class (it makes it natural to add things like
"System.gc()") and frees up "IO" for referring to the CLI's IO module.
2015-09-15 07:46:09 -07:00
5bb3154e83 Copy editing. 2015-03-27 20:59:15 -07:00
72c38a59ce More stuff for working with strings and bytes!
- "\x" escape sequence to put byte values in strings: "\x34"
- String.byteAt(index) gets value of byte in string.
- String.bytes returns a raw sequence of bytes for a string.
- String.codePointAt(index) gets the code point at an offset as a raw number.
2015-03-27 20:44:07 -07:00
3061bdde7f Start documenting maps and work on some other docs a bit. 2015-01-25 11:08:13 -08:00
a8726e6c00 SO MUCH NEW DOCS OH WOW. 2015-01-03 23:27:02 -08:00
3640c66bfb Fix range in docs. 2015-01-01 22:48:43 -08:00
2567c4846e Redesign site. 2014-04-16 08:00:15 -07:00
cd75e17f0d Docs docs docs. 2014-04-11 10:45:20 -07:00
f2aeb30b31 Hack on the docs a bit. 2014-01-30 06:51:52 -08:00
95d239cd21 Lots of work on docs. 2014-01-20 21:44:51 -08:00
8521d5ad79 Bunch more work on docs. 2013-12-04 07:46:41 -08:00