1
0
forked from Mirror/wren

22 Commits

Author SHA1 Message Date
ad4e039187 Fix svg link to travis build (#828) 2020-10-17 15:57:39 -07:00
9fb6d02b5c main branch reference fixes 2020-06-12 10:11:49 -07:00
51230e18fc Update link to comment about NaN tagging. 2019-03-24 12:46:39 +01:00
57a1d809d8 docs; replace wren repo URL to point to organization 2019-02-05 18:41:31 -08:00
afebb24e1b chore(README): point broken links to wren.io 2018-11-26 14:33:35 -05:00
0ad0af0e1f Fix embedding link in README 2018-02-16 23:18:01 -05:00
03163a760f Document interpolation. 2015-11-21 09:20:50 -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
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
6559edbc56 Update docs to mention libuv. 2015-08-30 22:38:40 -07:00
ff7ebdc381 Updated line count
The line count is actually around 7,000 (or 11,000 including blanks and comments):

```
~/wren $ cloc src/*/*.{c,h}
      26 text files.
      26 unique files.                              
       0 files ignored.

http://cloc.sourceforge.net v 1.60  T=0.08 s (344.3 files/s, 146330.5 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
C                               12           1471           1279           6102
C/C++ Header                    14            380            967            850
-------------------------------------------------------------------------------
SUM:                            26           1851           2246           6952
-------------------------------------------------------------------------------
```
2015-08-18 17:03:11 +01:00
607b91d023 Fixed some broken links in the readme 2015-08-12 22:40:55 -04:00
ed8ec262e4 Fix example in README. 2015-07-20 07:34:30 -07:00
c095b72976 Reorganize community docs a bit. 2015-07-18 11:19:52 -07:00
c00d6ad694 Added Sequence.each
This is a bit of a style preference since of course you can always write
the same thing with a for loop. However, I think sometimes the code
looks better when using this method.

It also provides an alternative to Sequence.map for cases where you
don't need the resulting list, and one that becomes especially necessary
when Sequence.map is changed to return a new sequence. The example in
the README.md file was using Sequence.map in a way that required this
alternative in that case.
2015-03-31 21:53:29 +02: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
93a4dd1b64 Update docs to mention compiling as C++. 2015-01-15 21:15:21 -08:00
af6be5d346 Update README.md
Add Travis build status image.
2015-01-06 07:21:22 -08:00
84ead3bb18 Start sketching out an actual contributor's guide.
- Add AUTHORS file
- Update README to match site docs
2015-01-04 13:36:23 -08:00
2abeb9ad2e Make first example correct (!). Fix #47. 2015-01-02 20:07:43 -08:00
526a84c4d6 Remove pointless newline. 2015-01-02 07:59:31 -08:00
99f0bf09c3 Add README and move metrics script. 2015-01-02 07:42:08 -08:00