d1a07460c9
Fix compiling break statements.
...
Had the wrong instruction size, which caused later code walking to wander into arguments.
2014-11-26 18:33:54 -08:00
83c2013dfb
Fixes to make GCC happier.
2014-11-26 14:03:05 -08:00
f6cbb6ad75
Add Fiber.try().
2014-10-15 06:36:42 -07:00
24967ed4eb
Endless site tweaking...
2014-10-04 09:57:40 -07:00
de59809b86
Tweak colors.
2014-09-14 09:39:44 -07:00
4dcb68d9b9
More work on the site.
...
- Tweaked the design a bunch.
- Started filling in core library docs.
- Fixed some other prose.
2014-08-24 09:09:10 -07:00
d5f68d70f0
Restyle site.
2014-08-19 07:35:20 -07:00
acceea2206
Clean up makefile a bit.
2014-04-26 08:07:03 -07:00
feb9f7cb53
Fix crash bug in closure capturing.
2014-04-24 17:52:53 -07:00
80a4eb8c9c
Better error message on too many inherited fields.
2014-04-22 07:06:26 -07:00
f1c3bb0f37
Work on responsive CSS.
2014-04-20 21:42:17 -07:00
767e47bbf6
Benchmark chart.
2014-04-20 21:04:41 -07:00
d338ef2f07
Finish fiber docs.
2014-04-19 20:33:49 -07:00
3087daaece
Add a closure test.
2014-04-19 17:48:06 -07:00
09c707e16a
More tests for super calls.
2014-04-19 11:51:36 -07:00
48dab5323d
A few small cleanups.
2014-04-19 11:44:51 -07:00
05717e763d
Move tests to right directory.
2014-04-19 11:41:21 -07:00
c21821e161
Merge branch 'redesign'
2014-04-16 08:00:42 -07:00
2567c4846e
Redesign site.
2014-04-16 08:00:15 -07:00
6677bde98c
Tweak fiber docs a bit.
2014-04-15 06:47:16 -07:00
f03895b17e
Symmetric coroutines!
2014-04-14 07:23:05 -07:00
cd75e17f0d
Docs docs docs.
2014-04-11 10:45:20 -07:00
634e4396cb
Start working on a responsive design for the site.
2014-04-11 10:44:33 -07:00
1cd73e60da
Write "Getting Started" page.
2014-04-09 07:53:30 -07:00
7393e12555
Allow multiple arguments to IO.print().
2014-04-09 07:48:35 -07:00
dfe65305c3
Update delta_blue benchmark to new setter syntax.
2014-04-08 21:40:31 -07:00
b2941cbbb6
Docs for operators and some other stuff.
2014-04-08 21:18:17 -07:00
3a55acfe1a
Test string concatenation.
2014-04-08 21:17:49 -07:00
dca58ff747
Require parentheses around operator and setter arguments.
2014-04-08 17:54:37 -07:00
45701692af
Bring some more blue back into the stylesheet.
2014-04-08 07:46:47 -07:00
f6dd88937b
Support "new" on lists.
2014-04-08 07:31:23 -07:00
49feeae99c
Inline wrenIsBool and wrenObjectType.
...
Gives a significant perf boost:
binary_trees 3411 0.29s 107.72%
delta_blue 6762 0.15s 103.54%
fib 3061 0.33s 113.44%
for 6516 0.15s 106.76%
method_call 4564 0.22s 99.64%
2014-04-08 07:17:25 -07:00
6b1b1083c9
Recolor doc site.
2014-04-07 21:03:16 -07:00
57fa694c36
Give PinnedObject a public name.
...
It needs to be public since the macros expand to stack allocations
of it.
2014-04-07 07:47:58 -07:00
289e70ed38
Reorganize the defines a bit.
2014-04-07 07:45:09 -07:00
db082967f4
Minor cleanup and refactoring.
2014-04-06 18:59:53 -07:00
aab02bcded
Tweak docs a bit.
2014-04-06 16:16:24 -07:00
f41be80e5f
Use a growable buffer for globals.
...
Also allows more than 256.
2014-04-06 16:16:15 -07:00
a1118c332c
IO.write -> IO.print in docs.
2014-04-06 08:38:00 -07:00
9a8f2edda4
List.addAll().
2014-04-06 08:37:37 -07:00
28021dc63e
Redo site design.
2014-04-05 15:39:02 -07:00
bffb0e5d93
Start documenting functions.
2014-04-04 20:45:12 -07:00
2da8025cd4
Fiber.create -> new Fiber
2014-04-04 18:24:55 -07:00
f5a9f39568
Check argument type in new Fn.
2014-04-04 18:13:13 -07:00
4a8cf3a7bf
Move newline handling down into parser.
...
This lets us make it a grammar feature and not a lexer trick.
Newlines are explicitly ignored in some parts of the grammar. This
lets, for example, things like "|" ignore the newline when used as
an operator, but not when used as a parameter delimiter in a block
argument.
2014-04-04 07:51:18 -07:00
da4cadf16b
Unify body handling.
...
Blocks, functions, and methods now have the same code for handling
their bodies.
This means that single-line methods work like single-line functions:
they return the result of their expression.
2014-04-03 07:48:19 -07:00
55c2c6ffb0
Remove old function syntax.
2014-04-02 20:22:36 -07:00
d146018559
Convert all fns to block arg syntax.
2014-04-02 19:41:53 -07:00
a550d6cea4
Change how new operators are compiled.
...
Instead of an instruction that always instantiates an instance,
the "new" is compiled to a method call on the class, followed by a
method call on the (presumably) new instance.
The former lets built-in types like Fn do special stuff instead of
allocating an instance. In particular, it means:
new Fn { ... }
can just return the block argument.
2014-04-02 17:42:30 -07:00
cc56ac4da7
Convert fiber tests to use block arguments.
2014-04-02 17:31:58 -07:00