Dan Buch
d246fc20a0
Filling in tree walker and asserting it yields simplates
2012-12-25 14:22:21 -05:00
Dan Buch
dc4fe12631
Asserting generated file can successfully compile
2012-12-25 10:19:54 -05:00
Dan Buch
887919098f
Playing with generic maps
2012-12-25 00:07:26 -05:00
Dan Buch
c8b4612c2e
Making generated code worky better
...
but straying from the TDD path ... which is sad...
2012-12-25 00:06:55 -05:00
Dan Buch
0bb83f358d
TRIVIAL whitespace change
2012-12-24 23:26:18 -05:00
Dan Buch
58272a076a
Goofing around with code generation
...
which feels crazy brittle so far and I'm thinking I'd rather do with
ast/parser stuff.
2012-12-24 15:38:32 -05:00
Dan Buch
3dd1fc9635
Moving output name calculation into method of Simplate
2012-12-24 12:03:21 -05:00
Dan Buch
8654aacea3
Starting work on rendering out simplates to Go sources.
2012-12-24 00:12:11 -05:00
Dan Buch
8314d97ade
Making assertions about TemplatePage
assignment
2012-12-23 12:11:48 -05:00
Dan Buch
dcb060b246
More assertions about simplate parsing
...
beyond simple type detection.
2012-12-23 11:07:23 -05:00
Dan Buch
f61d845eca
More tests for simplate type detection
2012-12-22 23:32:26 -05:00
Dan Buch
bfc7c0cdc6
Starting to goof around with a Go implementation of Aspen
2012-12-22 22:51:14 -05:00
Dan Buch
5d5ada2dfc
Filling in Accumulator
implementation and test client
...
as well as fixing the Canvas implementation so that it doesn't pop up an
X window on init.
2012-12-21 22:49:50 -05:00
Dan Buch
209e074503
Filling in Date
implementation
2012-12-21 22:31:33 -05:00
Dan Buch
b7480b78a8
Closing window on 'q' instead of space
...
since it fits my brain better, was a leftover from the x-go-binding
example.
2012-12-21 17:29:05 -05:00
Dan Buch
809e5ae69e
Fixing rectangle drawing
...
which was broken because I was treating the 3rd and 4th args to
`image.Rect` as width and height rather than end coords.
2012-12-21 09:19:35 -05:00
Dan Buch
be0c529381
Drawing pixel "misses" now
...
but looks like something is awry in how rectangles are being drawn.
2012-12-21 09:14:12 -05:00
Dan Buch
71ab8b249d
Futzing around more with drawing API
...
including implementation of `Rectangle(...)` and supporting methods,
making `Draw()` a method of `Canvas`, other crap.
2012-12-21 00:34:30 -05:00
Dan Buch
d009f8b70d
Getting a bunch more of the drawing API implemented
...
including drawing to a very plain X window, albeit an image of
nothingness.
2012-12-20 23:40:31 -05:00
Dan Buch
2b688fd385
Sourcing Go workspace env if present
2012-12-20 19:49:26 -05:00
Dan Buch
c2dc9cfe02
Starting work on the Interval2D
example
...
and filling in drawing library along the way.
2012-12-20 10:47:12 -05:00
Dan Buch
5bf03a1a40
Cleaning up rolls
implementation
...
to be a bit more idiomatic, I suppose.
2012-12-20 08:36:35 -05:00
Dan Buch
e81b35471e
Fixing a few places where I was using "crypto/rand"
...
to use "math/rand" with a proper seeding instead.
2012-12-20 00:34:24 -05:00
Dan Buch
7a40632ca8
Implementing "Average" example
...
and supporting `Stdin.ReadDouble` method.
2012-12-19 23:23:35 -05:00
Dan Buch
e0101b4c69
Not using that GOROOT after all
2012-12-19 23:22:36 -05:00
Dan Buch
9a1c045581
Implementing the "RandomSeq" example
...
with supporting implementation of `StdRandom.uniform`
2012-12-19 22:58:37 -05:00
Dan Buch
6ebbf04980
Re-namespacing one more time to get sources back in the same tree.
...
I dunno... this whole thing should be its own repo, probably. Meh.
2012-12-19 22:33:46 -05:00
Dan Buch
76c392967d
Re-namespacing everything and fixing imports to match
2012-12-19 21:10:56 -05:00
Dan Buch
335fe2e9bd
Adding a shell script variant of web assets generator
...
mostly just for silly comparison, as a shell scripting exercise I guess.
2012-12-19 18:36:50 -05:00
Dan Buch
18efe35c95
Yup, I think I prefer left-aligned.
2012-12-19 00:25:43 -05:00
Dan Buch
142c802a70
Giving image representation a top and left border
...
plus some other minor visual cleanups to web game.
2012-12-19 00:23:22 -05:00
Dan Buch
45c45bb838
Wrapping base64-encoded files at 76 chars
...
like it should be!
2012-12-19 00:06:15 -05:00
72b269650b
Simplifying web game loop
2012-12-18 22:03:26 -05:00
f86855d22d
Externalizing web assets
...
mostly to ease editing, but also for practice with file manipulation,
gzipping, base64'ing, etc.
2012-12-18 21:56:37 -05:00
4c44252a49
Getting the web implementation mostly working!
2012-12-18 09:37:28 -05:00
Dan Buch
6818d0ee01
Serving random state images, now need to tackle state transfer
2012-12-17 09:17:01 -05:00
Dan Buch
8b536de45c
Playing around with images and drawing
...
mostly in preparation for doing image stuff in the Conway's Game of Life
implementation.
2012-12-16 19:58:01 -05:00
Dan Buch
3e013ce1a5
Too much crap for one commit
...
Breaking out console runner into its own file, adding an empty web
runner, and starting to test that games and game states are able to
represent themselves as images.
2012-12-16 17:59:54 -05:00
Dan Buch
3bfa23fff2
Have we achieved torus?
2012-12-16 16:04:54 -05:00
Dan Buch
8056d86cbf
A bunch more work towards achieving torus
2012-12-16 12:17:44 -05:00
Dan Buch
7567f1c991
Starting work on making the game exist on a torus
2012-12-16 09:56:38 -05:00
Dan Buch
fc3f94e78f
Goofing around with Qt a bit
2012-12-14 20:35:01 -05:00
Dan Buch
39fdd6fdd6
Reflection thing from Jesse :-)
2012-12-13 21:02:19 -05:00
Dan Buch
44999623da
Collapsing tree into more sane Go project layout
...
since I was in here looking at something unrelated...
2012-12-13 18:12:43 -05:00
Dan Buch
270eb1fc2d
Moving bulk of console runner into library func
2012-12-12 21:34:28 -05:00
Dan Buch
6bbe19c26f
Whoops, was double-eval'ing generations
2012-12-12 08:11:33 -05:00
353b59b303
Extracting and testing generation emit and checksumming bits
2012-12-11 23:35:49 -05:00
c0184dd9df
Splitting things up a bit
2012-12-11 22:50:47 -05:00
8ba87ccc81
Cells can have their values set when ranging over them
...
plus more replacement of y, x loops with cell ranges, adding static
neighbor coords.
2012-12-11 22:30:34 -05:00
078efbe057
Refactoring tests a bit
2012-12-11 21:04:47 -05:00