Commit Graph

213 Commits

Author SHA1 Message Date
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
e4dbf7ffd8 Reminder text in the TODO list for what I should do later.
svn: r338
2005-07-04 22:45:51 +00:00
Stevie Strickland
d3654cfdec Forgot to give map its list argument.
svn: r337
2005-07-04 22:40:31 +00:00
Stevie Strickland
03aba477f7 Added useless statements so that Check Syntax will see all uses of interfaces,
even those that get erased in the transition to MzScheme classes.

svn: r336
2005-07-04 22:31:33 +00:00
Kathy Gray
57e8d8dab4 Fixing dynamic bug, and adding Util.error
svn: r334
2005-07-04 21:32:23 +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
623effa2f8 Fixing up the lexer used for syntax coloring to return the appropriate value for grouping operators.
svn: r332
2005-07-04 21:10:43 +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
Kathy Gray
541cf4b7ad Removed debugging printf
svn: r328
2005-07-04 19:40:01 +00:00
Stevie Strickland
39cb4f027f merging 322:325 from sstrickl/branches
This makes tenv and lenv, which were arguments to almost everything,
into parameters.  The only time they need to be set is after parsing
and before calling anything else, so there's one use in compile/defns
and one use in compile/interaction.

While I was at it, I took a lot of the infrequently-changing
arguments to typecheck-expression and made some typechecker-local
parameters also.

svn: r326
2005-07-04 18:40:02 +00:00
Eli Barzilay
b13fb49c93 Welcome to a new PLT day.
svn: r321
2005-07-04 08:20:05 +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
b0e056190a We should be checking the new statement's annotation, if we want type-valid? to
only be defined on types that the programmer can write down.n

svn: r307
2005-07-04 00:15:56 +00:00
Eli Barzilay
b20010b51e Welcome to a new PLT day.
svn: r302
2005-07-03 08:20:02 +00:00
Stevie Strickland
11a7add8bb Forgot to quote "values", and missed a use of "list".
May have to eventually make my own prefixed version of values to use,
similar to what I did with send (though honu:send does a (Honu) null object
check).

svn: r301
2005-07-03 00:58:52 +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
Eli Barzilay
39a7f8feff Welcome to a new PLT day.
svn: r299
2005-07-02 06:03:41 +00:00
Stevie Strickland
7dbb99d3c6 merged 292:296 from branches/sstrickl
svn: r297
2005-07-02 04:03:02 +00:00
Kathy Gray
d94aa9230d Fixed a hex lexing error
svn: r291
2005-07-01 23:57:13 +00:00
Matthew Flatt
6f16af82f2 pretty-print bug for hash tables fixed
svn: r290
2005-07-01 15:35:52 +00:00
Eli Barzilay
322b1b312a Welcome to a new PLT day.
svn: r289
2005-07-01 08:20:03 +00:00
Kathy Gray
cddd4e4e66 svn: r283 2005-06-30 19:29:41 +00:00
Kathy Gray
b6cf15b4b7 Temporarily fixes a recompilation problem
svn: r282
2005-06-30 19:22:41 +00:00
Matthew Flatt
c3147b6468 call security guard for truncate-file
svn: r281
2005-06-30 19:09:24 +00:00
Matthew Flatt
ba0519874a repair to truncate-file
svn: r280
2005-06-30 18:56:23 +00:00
Matthew Flatt
6d9aa4cab7 truncate-file
svn: r279
2005-06-30 17:38:52 +00:00
Matthew Flatt
3d8c40afe4 fixed verify- ops to take old-format exploded signatures
svn: r277
2005-06-30 16:40:13 +00:00
Matthew Flatt
a17bb02f6d fixed sll conspiracy for modules
svn: r276
2005-06-30 16:34:50 +00:00
Eli Barzilay
b2032767d2 Welcome to a new PLT day.
svn: r275
2005-06-30 08:20:05 +00:00
Robby Findler
e3b5ba8ef8 moved contract library to private, in order to export a few more names to special places
svn: r272
2005-06-29 23:33:51 +00:00
Eli Barzilay
61b31665d2 Welcome to a new PLT day.
svn: r268
2005-06-29 08:20:02 +00:00
Matthew Flatt
1951afa0a5 added test for bytes<->string/locale
svn: r267
2005-06-28 20:49:40 +00:00
Matthew Flatt
de84c91d1a URI query tags case-sensitive
svn: r262
2005-06-28 19:57:19 +00:00
Jay McCarthy
a2d54ace4d Handling large files better.
svn: r260
2005-06-28 17:15:40 +00:00
Matthew Flatt
0d4bc2cd9d 299.107
svn: r259
2005-06-28 17:01:03 +00:00
Jay McCarthy
8eac2f4d0b Allowing access to response/basic
svn: r258
2005-06-28 17:00:29 +00:00
Matthew Flatt
a69440a111 support to set framework path in os x
svn: r251
2005-06-28 12:51:18 +00:00
Eli Barzilay
fd00d79aff Welcome to a new PLT day.
svn: r248
2005-06-28 08:20:04 +00:00
Eli Barzilay
07b7eec0c3 Welcome to a new PLT day.
svn: r242
2005-06-27 08:20:02 +00:00
Eli Barzilay
5754e34958 Welcome to a new PLT day.
svn: r241
2005-06-26 08:20:02 +00:00
Eli Barzilay
0e8f12cf4d Welcome to a new PLT day.
svn: r240
2005-06-25 08:20:07 +00:00
Matthew Flatt
1fdc922b5a allow multiple instances of MrEd-based apps
svn: r239
2005-06-24 20:59:28 +00:00
Eli Barzilay
7b3e3e09f6 Welcome to a new PLT day.
svn: r238
2005-06-24 08:20:03 +00:00
Eli Barzilay
586f8886ec Welcome to a new PLT day.
svn: r237
2005-06-23 08:20:02 +00:00
Matthew Flatt
e4a71a9b3c match phase clean-up and minor contract-expansion improvement
svn: r232
2005-06-22 21:31:11 +00:00
Matthew Flatt
bc203f55b8 hierlist inlines arrow bitmaps
svn: r231
2005-06-22 21:30:30 +00:00
Matthew Flatt
d17ee2ab7c windows: allow MrEd-based console apps and Mz-based consoleless apps
svn: r230
2005-06-22 20:28:36 +00:00
Matthew Flatt
8c9aca0aef windows: allow MrEd-based console apps and Mz-based consoleless apps
svn: r229
2005-06-22 20:26:24 +00:00