Commit Graph

12 Commits

Author SHA1 Message Date
Robby Findler
40517379bd improved not-a-language language
svn: r1241
2005-11-06 20:55:39 +00:00
Carl Eastlund
097e65a084 Honu:
- added top.ss, containing mzscheme-accessible compilation commands.
- line-wrapped tool.ss to max width 100.

svn: r896
2005-09-21 15:47:48 +00:00
Stevie Strickland
c7fb7b5ec5 Separated out the cruft for syntax into a separate value until it gets into
the tool, where we combine it, and then drop it appropriately.

svn: r348
2005-07-05 18:38:24 +00:00
Stevie Strickland
2feaff9d19 Moving all the calculation for what needs to be dragged along kicking
and screaming into its own file, and now we stick that stuff into its
own little space at the front of what translate returns so that it's
seen by Check Syntax, but we can drop it like a hot potato when it
comes time to run the compiled code.

svn: r340
2005-07-05 01:25:46 +00:00
Stevie Strickland
bbded8247a Fixing it such that Check Syntax works again.
svn: r333
2005-07-04 21:27:42 +00:00
Stevie Strickland
cc8ee7ac3a merging 326:329 from branches/sstrickl
This fixes up the fact that is-a? should work different for Honu
classes than MzScheme ones (since Honu classes do not automatically
implement the interfaces their superclass did).  I also did some
parameterization in the translate module (outside the already
existing current-compile-context).

svn: r330
2005-07-04 20:13:47 +00:00
Stevie Strickland
5681703341 Forgot to fix things so that void-typed (in the Honu sense) values don't
get printed out.

svn: r320
2005-07-04 04:56:51 +00:00
Stevie Strickland
62d631998b merging 314:317 from branches/sstrickl
This adds the ability to configure whether to print out just the class
name or class + fields for objects.  This also adds the feature of
printing out the type of expressions evaluated at the REPL as well as
their value.

svn: r318
2005-07-04 04:33:41 +00:00
Stevie Strickland
50a7859893 merged 308:311 from branches/sstrickl
Now null values are printed out as "null" instead of
"#<struct:object:null%>".  Simple addition, but useful.

This also adds a very unintelligent pretty printing for classes
by adding a new public member for every Honu generated class that
gets called by format-honu (in tool.ss).

This pretty printing reveals the values for static members.
Eventually I'll want to add an option to print just classes or
classes + fields, like in ProfessorJ, but this was the heavy
lifting of getting classes + fields printing out in the first place.

svn: r312
2005-07-04 02:47:32 +00:00
Stevie Strickland
439c1ecd24 Several bugs found, the biggest being using <:_P to compare members
of a supertype and subtype, where the subtype was not yet added to
the tenv.  Had to hack to get around that one.

Also little problems like the fact that list can be captured by the
user program, so we can't use that -- used list* (with a null at the
end) and null (for empty lists) instead.

Since the power was down and I couldn't get the earlier stuff committed,
I have even more changes.  Bug-fixes, mostly, though now top-level
functions that are defined consecutively are mutually recursive as they
should be.

svn: r300
2005-07-03 00:28:59 +00:00
Stevie Strickland
7dbb99d3c6 merged 292:296 from branches/sstrickl
svn: r297
2005-07-02 04:03:02 +00:00
Eli Barzilay
017d151d59 Adding collects, with all the right properties (except eoln-style).
svn: r3
2005-05-27 18:56:37 +00:00