Commit Graph

42 Commits

Author SHA1 Message Date
d585a080e8 Merge pull request #751 from wren-lang/0.3.0-refactor
0.3.0 refactor
2020-06-05 14:57:20 -07:00
7eac8e6a37 docs; encapsulation legibility fixes 2019-09-18 01:43:34 -07:00
0e67667010 Update Encapsulation documentation to be clearer
fixes #691
2019-09-17 22:18:55 -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
ef5f38b48f Turn on auto-deploying docs.
Looks like it's working now. <crosses fingers>
2018-07-14 21:35:33 -07:00
372cd3e197 Small documentation fixes 2018-04-06 10:34:12 +02:00
e043a95e4e Edit docs. Docs docs docs. 2017-10-19 19:52:05 -07:00
ffb5ada9fb Move the community docs to the wiki. 2016-01-24 15:39:35 -08:00
5454152dff Merge pull request #313 from acook/patch-1
Fixing a couple of typos in the classes docs.
2015-11-25 08:59:16 -08:00
fb72e0fff7 Document method scope. 2015-11-21 14:00:21 -08:00
da3eac9a48 Fixing a couple of typos in the classes docs. 2015-11-20 12:56:27 -06: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
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
2e83f056c1 No more default constructors.
Fixes #296.
2015-09-01 08:16:04 -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
a44e07deba Some minor doc cleanups and tweaks. 2015-07-01 08:11:10 -07:00
373770a8d5 Fields are private, not protected. Fix #237. 2015-03-27 06:46:12 -07:00
ff9091cf63 Tweak static field docs a bit. 2015-03-01 08:39:53 -08:00
7bed58ecf3 doc/site/classes.markdown: add static fields example 2015-02-28 11:26:18 -05:00
96ceaa528b Allow empty argument list methods.
- Compile them as calls and definitions.
- Use them for call(), clear(), run(), try(), and yield().
- Update the docs.
2015-02-26 23:08:36 -08:00
8540e58b61 Typo fix 2015-01-07 16:41:30 +00:00
4a9b3f3e49 Fixed typo in classes.markdown 2015-01-06 16:47:54 +00:00
92222fe7c6 Added documentation about issue #70 - can't inherit from built-ins 2015-01-06 08:37:57 +00:00
a8726e6c00 SO MUCH NEW DOCS OH WOW. 2015-01-03 23:27:02 -08:00
f6cbb6ad75 Add Fiber.try(). 2014-10-15 06:36:42 -07:00
2567c4846e Redesign site. 2014-04-16 08:00:15 -07:00
b2941cbbb6 Docs for operators and some other stuff. 2014-04-08 21:18:17 -07:00
001a8fe54f Merge pull request #37 from zeckalpha/feature/docs-todos
Feature/docs todos
2014-02-19 07:12:33 -08:00
9a566e8203 Strunk would be proud. 2014-02-17 13:56:41 -06:00
4eead2b611 Punctuation choices 2014-02-16 21:56:51 -06:00
5b8b06cf52 TODO note about refactoring classes and method-calls documentation. As a user of the documentation, I found some aspects confusing about this, particularly the operator section. There should be an example of how to define custom operators on the Classes page. 2014-02-16 21:56:21 -06:00
16756cb619 todo note about static methods 2014-02-16 21:56:14 -06:00
4e10445952 Work on class docs a bit. 2014-02-04 08:45:08 -08: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
667d393fbb Write a bunch of docs. 2013-12-28 09:37:41 -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