The Bag of Holding

Profile
Bellevue, WA
A bipolar guy in a pressure-cooker industry
1,455 comments
44 followers
628 entries
Advertisement
ApochPiQ
August 28, 2008
Fiddling about with tuples and structs
Much to my chagrin, I realized earlier this evening that tuple members are being stored backwards in memory.

This is because of some laziness on my part in the grammar. Function parameters are passed in reverse order (i.e. the first parameter gets pushed onto the stack first, and the last parameter …
430 views
ApochPiQ
August 28, 2008
Tuple support implemented
Tuples are most of the way implemented in Epoch now. I'm continually (and pleasantly) surprised by how much easier it is to do things than I would have guessed. Thus far most of the language features have taken far less time to implement than I would have predicted.

So either I'm making a monumental…
469 views
ApochPiQ
August 27, 2008
Plans are useless but planning is essential
I had a quick ponder earlier today about what all would be necessary in order to write a full Win32 app in Epoch.

Structures are obviously very widely used, so I've been planning on doing them for one of the next releases for quite a while. However, something I overlooked was function callbacks. I'l…
521 views
ApochPiQ
August 26, 2008
Hmm... guess what THIS is about...
Had a few spare minutes today, so I hacked up serialization and got it finished. Turns out it was a lot quicker of a job than I expected.

I also decided not to serialize directly to a binary format. Instead, the serialization process outputs an assembly language file that targets the Fugue virtual m…
412 views
ApochPiQ
August 25, 2008
Epoch Release 3 - Hot off the presses!
Alright, ladies and gents, it's time to clip the big red ribbon and unveil Epoch Release 3.

Included in today's festivities are a fully stack-based virtual machine, numerous tweaks and improvements to built-in functions, and a couple of back-stage odds and ends that you probably won't notice unless …
426 views
ApochPiQ
August 25, 2008
Recursion: n. See "Recursion."
Had a quick hack on Fugue again this afternoon, and finally got everything working the way it should be with regards to the stack. One case I had missed was recursion; because of the way the bytecode is stored, it was possible for a recursive function to obliterate its parent call's stack informati…
483 views
ApochPiQ
August 25, 2008
Another night of Epoch
I think I'll be posting Epoch Release 3 soon; I'd like to do some documentation work, and a bit of assorted cleanup, but once that's done, R3 will be ready to go. The big changes are of course related to making the VM stack-based rather than the old mutant thing it used to be [grin]

I mentioned earl…
365 views
Advertisement
ApochPiQ
August 24, 2008
Stack based Epoch: Epilogue
We're back on the air, baby!

As of some unholy hour this morning, I've gotten all the relevant stack-based changes made, so that the guessing game works once again. The pi computation program should be mere hours behind, but there's been a complication.


A lot of core-level guts have changed in the Fu…
502 views
ApochPiQ
August 23, 2008
Stack Based Epoch, part deux
I decided to take a few spare minutes and get back into working on Epoch, particularly on making things purely stack-based.

So far, so good; almost all of the arithmetic operations and other built-ins have been removed, awaiting reimplementation in stack-aware forms; but other than that, everything …
416 views
ApochPiQ
August 20, 2008
Burning up, burning down, burning out
English is such a weird language. We can burn something up, burn something down, burn it in, or even burn it out. The semantics of the burning are modified entirely by the preposition. Some prepositions invoke literal flame, others give us a more metaphorical image.

I'm interested in one of those pr…
430 views
Advertisement

Popular Blogs

shawnhar
Generalist
101 Entries
13 Followers
klg71
Generalist
53 Entries
1 Followers
ApochPiQ
Generalist
628 Entries
44 Followers
15 Entries
13 Followers
johnhattan
Programmer
1,277 Entries
50 Followers
Advertisement