Skip to content

Commit

Permalink
updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Oct 20, 2000
1 parent 4ea0c04 commit 55b6704
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 28 deletions.
6 changes: 4 additions & 2 deletions last/toby/docs/changelog.txt
Expand Up @@ -26,8 +26,7 @@ What's new in Toby alpha5:
At the same time, it's also much more flexible, which means sooner or later
more languages will get plugged into this project. An honest-to-God LOGO
implementation comes to mind, but other things like scientific modelling
languages and such should not be ruled out, either. Please see TUD.txt for
info on what's better about the new engine.
languages and such should not be ruled out, either.
- TurtleSpace has become an interface, which is implemented by a
JComponent-based widget. This abstraction will, eventually, allow us to
create a Spotlet (Java UI on the Palm Pilot) version of Toby.
Expand All @@ -53,6 +52,9 @@ What's new in Toby alpha5:
- Fixes to the Swing code.
- SaneTokenizer now handles pushBack() better.
- Much, much more.
...basically, this was a almost complete rewrite; every subsystem was looked
at, and reevaluated. There is still more to be done.


What's new in Toby alpha4:
- Lots of bug fixes and code improvements.
Expand Down
6 changes: 3 additions & 3 deletions last/toby/docs/thanks.txt
Expand Up @@ -10,18 +10,18 @@ At this point, TOBY has been entirely written, and maintained by
and being a bizarre sort of soul mate. Get yer slack on.
- Sabrina Blanks, April Andrews, and Nicki Publick for being unwitting test
subjects for Toby.
- Loren Osborne, for conversation on implementation.
- Loren Osborne, for many hours of debate and discussion of implementation.
- Michael Roessler, who managed to sleep through the noise of my clicky
keyboard on many consecutive nights of hacking.
- The journal list gang, for listening to Ryan ramble about his life.
- Rob Spidle, for battling ninjas.
- Robert Spidle, for battling ninjas.
- The "Dragon book" for parsing concepts. Friggin' trees, man.
- Mr. Mullen and Mrs. Kelly, for putting me up to the original project.
- Karie Publick, for the naming the program, in a roundabout way.
- Mrs. Strohm, for many things I never knew I'd be thanking her for later.
- YOUcentric, for proof that Java doesn't necessarily suck.
- Bernd Kreimeier, for thoughts on efficiency of the instanceof operator.
- The BBTG crew, for being my OTHER creative outlet.
- linux.com, for being my OTHER creative outlet.
- Ani Difranco, Phish, Soul Coughing, Soul Miner's Daughter, Beastie Boys,
AMG, and the Red Hot Chili Peppers for providing the Soundtrack for da Hack.
- Loki Entertainment Software, for paying my bills.
Expand Down
31 changes: 8 additions & 23 deletions last/toby/docs/todo.txt
@@ -1,9 +1,14 @@
// Things still to be done for TOBY...

ongoing bugfixes/enhancements :
GLOBAL REFERENCING IS FUCKED.


TobyMenuBar.java : Need to not hardcode TobyParser...
TobyMenuBar.java : Move execution to separate class.

LogicContext should not have statics.

The statics in LogicContext prevent multiple concurrent interpreters.

swing turtle should be fixed width, not based on screen size.
Expand Down Expand Up @@ -92,34 +97,20 @@ ongoing bugfixes/enhancements :
Alt-hotkey should bring up the menus. A lot of the hotkeys aren't making
it past the text editor component right now.

In fact, rip out that cruddy editor widget...

The ultimate ongoing fix are the "!!!" comments. Any comments containing
'!!!' have been placed there to alert me that there is a bug/deficiency
in the code that is worth revisiting, but probably isn't crippling. As
such, they tend to build up. Feel free to fix any of these and submit
patches to rgordon@xnot.com ...

Since operators are replaced with static references, make all runtime
checks for them use (a soon to be written) searchArrayForReferences(),
since they currently search (unnecessarily) with String.equals()...

Make all identifiers resolve before runtime, so we can replace them
with unified references. The more often we can safely replace
string1.equals(string2) calls with (string1 == string2) constructs,
the faster the interpretation will be. Most of the code already replaces
keywords, operators, etc. with references from a static table in
TobyInterpreter.

Make inputarea use sane keys...I don't like the Swing defaults. Therefore
someday I'd like to either replace the Swing component with a homegrown
prettier/more functional textarea, or make some sort of customizer;
config file or whatnot. Mostly, I'd like SHIFT-DELETE and SHIFT-INSERT
to cut and paste. :) Other enhancements welcome.

Unify error displaying interface between parsing and running...They both
result from the catching of TobyParseExceptions, but are caught and
handled in completely separate places and ways. (This is fixed in the
"unstable" tree.)

Functions can specify a return type and then return nothing. This should
be considered a bug. (Java and C consider it a feature, and it is, but
it confuses beginning programmers.)
Expand All @@ -135,12 +126,6 @@ ongoing bugfixes/enhancements :
Maximize window instead of sizing to screen width and height: is there a
way to do this in Swing?

Move copyImage code from TobyInterpreter into TurtleSpace.

TriangleTurtle still looks wrong. Check math. Center line isn't drawing
correctly...could be symptom of bug in TobyGeometry.calculateLine(), or
TriangleTurtle.calcTriangle()...I'm voting for the latter.

Move parse and execution time report code to more user-friendly output.
Right now it just dumps to stdout. I'd like it to go to
EditorInformationDisplay or something.
Expand Down Expand Up @@ -174,7 +159,7 @@ alpha4 : completed.
alpha5 : in progress.
Fully separate parser and interpreter. (COMPLETED)
Separate interpreter and TurtleSpace. (COMPLETED)
Complete dynamic language support.
Rewrite interpreter to use parse trees. (COMPLETED)
Split this thing up into packages. (COMPLETED)
Abstract TurtleSpace into interface. (COMPLETED)

Expand Down

0 comments on commit 55b6704

Please sign in to comment.