Commit Graph

35 Commits

Author SHA1 Message Date
aac6296317 Add continue to the list of reserved words (#865) 2020-12-03 19:50:56 -08:00
3e0f71b742 [0.4.0] Import as (#775)
* Add import "..." for Variable as OtherName
2020-12-03 09:34:36 -08: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
e043a95e4e Edit docs. Docs docs docs. 2017-10-19 19:52:05 -07:00
479ca7ec6d Improve explanation of single-expression blocks.
Fix #390.
2017-01-12 11:05:03 -08:00
e6b48de598 Fix precedence table in docs.
It was out of sync with the actual implemented precedence in a few
places.
2016-02-27 10:14:09 -08:00
82706b74fc Reorganize site to make room for documenting the other built-in modules. 2015-11-08 13:31:22 -08:00
8c0dae1320 Move precedence table to syntax page. 2015-11-08 10:59:23 -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
71ab3ca887 Use "construct" instead of "this" to define constructors. 2015-07-21 07:24:53 -07:00
5fb6186d7d Make constructors just methods.
* Eliminate "new" reserved word.
* Allow "this" before a method definition to define a constructor.
* Only create a default constructor for classes that don't define one.
2015-07-10 09:18:22 -07:00
701e97510a added missing "import" keyword 2015-04-19 23:13:40 +02:00
0bd19da392 Bind C methods to Wren using foreign declarations. 2015-03-24 07:58:15 -07:00
a8726e6c00 SO MUCH NEW DOCS OH WOW. 2015-01-03 23:27:02 -08:00
c25cfca18b Eliminate semicolons entirely. 2015-01-03 10:02:45 -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
b2941cbbb6 Docs for operators and some other stuff. 2014-04-08 21:18:17 -07:00
6b1b1083c9 Recolor doc site. 2014-04-07 21:03:16 -07:00
aab02bcded Tweak docs a bit. 2014-04-06 16:16:24 -07:00
a1118c332c IO.write -> IO.print in docs. 2014-04-06 08:38:00 -07:00
4eead2b611 Punctuation choices 2014-02-16 21:56:51 -06:00
3f96637274 Update a bunch of io to IO in docs. 2014-02-16 11:28:56 -06:00
95d239cd21 Lots of work on docs. 2014-01-20 21:44:51 -08:00
e6e7b2594c For loops! 2013-12-24 21:04:11 -08:00
6fdcf800a8 Do a bit more documentation. 2013-12-21 09:15:30 -08:00
caafa96252 More work on docs. 2013-12-17 09:39:26 -08:00
7355dd3dc7 Fill in some more basic syntax docs. 2013-12-04 21:51:23 -08:00
ba676f1231 Work on docs a little bit. 2013-11-23 14:52:50 -08:00
d332eed048 Start hacking on web site. 2013-11-21 21:38:36 -08:00