Commit Graph

267 Commits

Author SHA1 Message Date
Matthew Flatt
3b49038947 better eof handling in zo-parse
svn: r14252
2009-03-24 18:38:18 +00:00
Matthew Flatt
282a404ada all expression forms tested for zo-marshal
svn: r13998
2009-03-06 23:27:10 +00:00
Matthew Flatt
946a39221a some zo-marshal repairs
svn: r13984
2009-03-06 17:37:28 +00:00
Matthew Flatt
f1e646c8f9 zo-marshal bug fixes and start at test suite
svn: r13979
2009-03-06 15:22:33 +00:00
Matthew Flatt
1ecc6abaa0 remove bad write-bytecode file
svn: r13977
2009-03-06 02:24:00 +00:00
Matthew Flatt
5a8bd8b724 partially working compiler/zo-marshal
svn: r13976
2009-03-06 02:23:19 +00:00
Matthew Flatt
25e7978999 rename write-bytecode to zo-marshal
svn: r13974
2009-03-06 00:48:08 +00:00
Matthew Flatt
a1f0873143 initial version of write-bytecode
svn: r13973
2009-03-06 00:45:13 +00:00
Matthew Flatt
df99b2e1c4 remove obsolete text
svn: r13051
2009-01-09 21:01:09 +00:00
Eli Barzilay
8a2753efb8 2008 -> 2009
svn: r13001
2009-01-04 15:34:50 +00:00
Matthew Flatt
7aec6b8761 document compiler/zo-parse and compiler/decompile
svn: r12947
2008-12-28 18:57:13 +00:00
Matthew Flatt
064776348a fix ready-toplevel optimization
svn: r12905
2008-12-19 17:16:39 +00:00
Matthew Flatt
cf8b75939b trim some fat from module-variable references
svn: r12833
2008-12-13 17:38:14 +00:00
Matthew Flatt
3e7e63aecf write embedding sexecutables without setting current output port
svn: r12780
2008-12-11 20:14:53 +00:00
Matthew Flatt
149d3a24cb handle symbol module path as extra path
svn: r12757
2008-12-09 21:57:50 +00:00
Matthew Flatt
d8c28545ea fix decompiler for recent .zo change
svn: r12722
2008-12-07 19:07:47 +00:00
Matthew Flatt
1a4b3abba7 decompiler repairs
svn: r12537
2008-11-20 13:47:06 +00:00
Matthew Flatt
14f57a3f37 xform: keep system-header flag in line info
svn: r12435
2008-11-14 01:22:58 +00:00
Matthew Flatt
59f3f19f84 make the optimizer slightly smarter, so that it can see through more patterns of nested let and letrec procedure bindings
svn: r12434
2008-11-14 00:48:54 +00:00
Matthew Flatt
bac4053c37 improved JIT inlining of 'list'
svn: r12428
2008-11-13 16:42:15 +00:00
Matthew Flatt
422b1d1e09 make keep-lines? argument optional
svn: r12426
2008-11-13 16:03:26 +00:00
Matthew Flatt
54269c8bbd fix xform to not generate srcloc info in the middle of a macro call
svn: r12424
2008-11-13 13:26:25 +00:00
Matthew Flatt
ba7ad5d2e6 add support to xform to output source line numbers
svn: r12419
2008-11-13 00:26:04 +00:00
Robby Findler
256182ecbd adjusted the automatic compilation to make it more disableable
svn: r12397
2008-11-11 23:56:54 +00:00
Matthew Flatt
c4f994658c fix mzc --include-compiled (PR 9900)
svn: r12384
2008-11-11 15:36:33 +00:00
Robby Findler
1490cd1c4d added support for automatic compilation of source files to drscheme
svn: r12356
2008-11-08 18:34:39 +00:00
Matthew Flatt
c1a10edaff fix compile-zos for modules
svn: r12347
2008-11-07 23:21:02 +00:00
Matthew Flatt
f076494c48 change mzc verbosity
svn: r12333
2008-11-06 18:54:12 +00:00
Matthew Flatt
95bedb17fb change contracts to reflect context via #%variable-reference instead of syntax objects; add id-less #%variable-reference form; drop link to unneeded CPort objects in delayed thunks; streamline some modules that tend to show up in deep phases
svn: r12231
2008-11-04 14:24:12 +00:00
Matthew Flatt
b8f6e1a91a handle attaches of embedded modules
svn: r12225
2008-11-03 14:37:55 +00:00
Matthew Flatt
487df2362e fix more bugs with lib paths in exe creation
svn: r12175
2008-10-30 10:55:07 +00:00
Matthew Flatt
ea659ba286 split scribble/manual module into smaller modules
svn: r12150
2008-10-28 01:40:51 +00:00
Matthew Flatt
00d2aabaf0 jit tweaks
svn: r12144
2008-10-27 19:00:13 +00:00
Matthew Flatt
e2d4bc0d2b finish decompiler on syntax objects
svn: r12077
2008-10-21 00:10:47 +00:00
Matthew Flatt
7a55275a26 unit bug fixes related to new scoping of signature elements; change scribble/manual to compute ids typeset as variables at compile time, in preparation for moving from a parameter to syntax bindings; fix docs typos; extend decompiler's support for unmarshaling syntax objects
svn: r12046
2008-10-15 22:23:56 +00:00
Matthew Flatt
89f2315374 fix bug in exe creation where 'lib runtime-paths could be mis-parsed as mzlib paths
svn: r11966
2008-10-07 16:00:36 +00:00
Matthew Flatt
a529b45e7c add __isnan and __isinf (PR 9802)
svn: r11911
2008-09-30 12:08:09 +00:00
Matthew Flatt
dd7db9ff7b add read-language, module-compiled-language-info, and module->language-info
svn: r11827
2008-09-21 16:00:42 +00:00
Matthew Flatt
186bf67630 msvs9-friendly patches; preliminary splicing let-syntax library; export and doc GC_resolve and GC_fixup_self
svn: r11758
2008-09-15 19:08:50 +00:00
Matthew Flatt
6b22d93383 partly fix handling of planet paths in stand-alone executables
svn: r11388
2008-08-22 15:11:12 +00:00
Eli Barzilay
ebcee44f7f some improvements
svn: r11362
2008-08-21 07:01:55 +00:00
Matthew Flatt
de4352d8fc avoid depending on the message text for a cm-accomplice event
svn: r11355
2008-08-20 13:37:57 +00:00
Matthew Flatt
6516518ae5 fix cm-accomplice and avoid redundant reader-module dependencies
svn: r11354
2008-08-20 13:29:42 +00:00
Eli Barzilay
f0e342414b the result type of main-collects-relative->path is now a path
svn: r11337
2008-08-19 17:12:56 +00:00
Matthew Flatt
bf17f5a134 fix cm to work with relative-path dependencies
svn: r11331
2008-08-19 15:58:43 +00:00
Matthew Flatt
9720e0151e fix cm
svn: r11330
2008-08-19 15:32:47 +00:00
Matthew Flatt
ebab4270bf fix letrec compilation when call/cc is used on the RHS of something that otherwise looks like it could be let*; add #%in annotations to decompiler output
svn: r11329
2008-08-19 15:18:09 +00:00
Eli Barzilay
850af38cfe * Added `setup/private/omitted-paths' as a central point for getting
omitted paths -- including entries from parent directories
* This code automatically includes "compiled", ".*" and "doc" (unless
  in the main tree), which nicely unifies the pieces of code that
  duplicated this check (compiler/compiler-unit and setup/setup-unit).

svn: r11324
2008-08-19 10:28:22 +00:00
Matthew Flatt
76cf25fc12 document 'mzc --decompile'
svn: r11317
2008-08-19 00:50:52 +00:00
Eli Barzilay
da3b476e80 finish the cm move: change all requires, leave stub files in mzlib
svn: r11314
2008-08-19 00:22:57 +00:00
Eli Barzilay
2a2977d804 move mzlib/cm and mzlib/cm-accomplice to compiler
svn: r11313
2008-08-19 00:15:00 +00:00
Eli Barzilay
a48366ce12 move cm-ctime to compiler/private, move away compiler/cm and compiler/cm-accomplice stubs
svn: r11312
2008-08-19 00:13:43 +00:00
Matthew Flatt
64c655a516 add --decompile blade to mzc and refine decompiler output
svn: r11310
2008-08-19 00:04:20 +00:00
Matthew Flatt
e611829b76 expose safe-for-space clearing in decompilation
svn: r11307
2008-08-18 22:34:38 +00:00
Matthew Flatt
6a0a40773b add with-cont-mark decompilation
svn: r11306
2008-08-18 22:28:08 +00:00
Matthew Flatt
1d754e8f66 initial version of decompiler
svn: r11305
2008-08-18 22:19:52 +00:00
Eli Barzilay
2d3dfd9d9e removed redundant dependency on "make"
svn: r11236
2008-08-14 09:18:42 +00:00
Matthew Flatt
9af00fcfb4 v4.0.2.4: logging
svn: r10818
2008-07-17 15:20:17 +00:00
Eli Barzilay
4cd2614c21 scribble fixes -- nested @scheme and a few other similar problems
svn: r10744
2008-07-13 17:13:20 +00:00
Eli Barzilay
7d50e61c7f * Newlines at EOFs
* Another big chunk of v4-require-isms
* Allow `#lang framework/keybinding-lang' for keybinding files
* Move hierlist sources into "mrlib/hierlist", leave stub behind

svn: r10689
2008-07-09 07:18:06 +00:00
Eli Barzilay
8fb7e764c7 setup' and compile' skip a subdirectory if it's called "doc". This
doesn't work for scribble/doc, which is a directory with code.  So
change the check to skip "doc" only if it's in the main plt collects
tree.

svn: r10488
2008-06-28 09:32:12 +00:00
Matthew Flatt
91d73e4c30 more __isinf variants in xform (PR 9505)
svn: r10267
2008-06-15 11:31:21 +00:00
Matthew Flatt
21fd7b93b3 change the way Scribble generates keys based on modules
svn: r10170
2008-06-06 13:24:58 +00:00
Matthew Flatt
7c3962720e add uti-exports support (thanks to Dave Gurnell for help)
svn: r10129
2008-06-04 14:16:30 +00:00
Matthew Flatt
8484b1e578 flip mzc flag from --prim to --no-prim
svn: r10123
2008-06-04 12:35:56 +00:00
Matthew Flatt
08d15a9be7 fix dest of mzc --zo (PR 9400)
svn: r9905
2008-05-20 12:15:33 +00:00
Matthew Flatt
4af4b04a4a fix problem in executable creation (again)
svn: r9682
2008-05-06 12:20:05 +00:00
Matthew Flatt
0de38ecc43 fix problem in executable creation
svn: r9681
2008-05-06 11:59:54 +00:00
Matthew Flatt
3451dff783 mzc -e repairs
svn: r9669
2008-05-05 22:32:16 +00:00
Matthew Flatt
a26b334c67 proprocessor doc, merge scribblings and doc-categories fields
svn: r9414
2008-04-23 00:20:25 +00:00
Matthew Flatt
e25e7a1098 keyword in methods and apply; procedure-reduce-keyword-arity
svn: r9396
2008-04-22 18:00:04 +00:00
Matthew Flatt
63c8b7ffde fix some mzc -e problems
svn: r9379
2008-04-21 01:04:31 +00:00
Matthew Flatt
476c374751 finish mzc docs
svn: r9378
2008-04-20 14:28:20 +00:00
Matthew Flatt
021d4d7527 new hash function names and ops (3.99.0.23)
svn: r9209
2008-04-08 21:42:38 +00:00
Matthew Flatt
e1b493ee19 add __isinfl as rcognized non-GCing primitive for xform, and streamline infinity tests while we're at it
svn: r9109
2008-03-29 12:48:59 +00:00
Matthew Flatt
1be4258c44 fix mzc -k output reporting
svn: r9076
2008-03-24 12:15:03 +00:00
Eli Barzilay
f94acb09d5 some minor reformatting and improvements
svn: r9075
2008-03-24 10:14:02 +00:00
Matthew Flatt
f5e0fd35f5 revise scribble/srcdoc so it is extensible; tweak bytecode optimizer to drop more omittable expressions
svn: r9028
2008-03-19 19:53:51 +00:00
Matthew Flatt
b64d03d932 fix mac sdk support; change initial namespace to not have 'module'; set up mzc --c-mods (still need docs)
svn: r8997
2008-03-16 23:08:53 +00:00
Matthew Flatt
d514f4f32e fix mzc --exe
svn: r8975
2008-03-15 02:04:55 +00:00
Eli Barzilay
b76390a452 revise the way setup-plt crawls over the collection trees
svn: r8860
2008-03-03 22:04:28 +00:00
Matthew Flatt
b3476706ec add newline handling to reencode-input/output-port; provide a streamlined path for custom-port buffering (via pipes); fix JIT bug related to updating the runstack pointer after a call that turns out to be a direct-native call
svn: r8851
2008-03-02 16:00:12 +00:00
Eli Barzilay
bb34f747b6 make all files terminate with a newline
svn: r8786
2008-02-24 21:27:36 +00:00
Danny Yoo
49616f9f40 Fixed dynamic-requires that had erroneous mzlib prefix attached at the front.
svn: r8778
2008-02-23 19:20:44 +00:00
Eli Barzilay
b1a08edd5a use new require specs in many places
svn: r8774
2008-02-23 09:42:03 +00:00
Eli Barzilay
699c40643d * Changed setup-plt to compile collections if they have an "info.ss"
file.  (That is, it does not require the file to have a `name'
  entry.)

* The name shown when setup works is the directory name, followed by
  the `name' field from the info file when specified.

* This means that many `name's are no longer needed, so I'm removing
  them.  To see if you need a `name' entry, consider that the name
  will be shown like this:
    ... foo (<your name here>)
  This means that if the name is the same as the directory name, then
  there is no point in having it.  I also removed cases where the name
  differed only in its capitalization for collections where the case
  is obvious.

* Also, for subcollections, the name should clarify the name of the
  subcollection in context.  For example "Acknowledgments" explains
  what scribbling/acks is, but there's no need to add the context name
  as in "Scribblings: Acknowledgments".

* There may also be a point in keeping names for other uses.  One such
  example was in games, where the name field was used in the PLT Games
  application.  (This was changed to default on the directory name, so
  it is no longer needed in most games.)  Another example is in planet
  packages.

svn: r8629
2008-02-12 10:33:01 +00:00
Matthew Flatt
9bfa156f91 fix scribble output when a table appears as the first thing in an itemization item; a little more mzlib scribblings
svn: r8617
2008-02-11 12:55:30 +00:00
Eli Barzilay
3c72e71e24 switched info.ss files to #lang
svn: r8532
2008-02-04 23:00:35 +00:00
Eli Barzilay
59b5f3a727 removed unused doc.txt entries from info.ss files
svn: r8529
2008-02-04 20:31:04 +00:00
Matthew Flatt
60f7074bab doc fixes and rendering tweaks
svn: r8453
2008-01-28 22:43:50 +00:00
Matthew Flatt
e35c94f91d clean out _loader compilation support; merge compiler library docs into mzc manual; improve mzscheme cmdline handling so that configuration options do not cancel defaults like -i and -u
svn: r8432
2008-01-27 14:20:42 +00:00
Matthew Flatt
48ca975a7d repair c-lambda
svn: r8382
2008-01-22 14:38:07 +00:00
Matthew Flatt
8b16cee613 start mzc scribbling
svn: r8334
2008-01-15 13:09:40 +00:00
Matthew Flatt
3162537b77 scribbled compiler/cffi
svn: r8325
2008-01-14 22:47:12 +00:00
Eli Barzilay
281c1b8838 2007->2008
svn: r8169
2007-12-31 00:47:21 +00:00
Matthew Flatt
d411eb6402 fix Mach-O updating in the case that no two-level hints entry is available
svn: r8136
2007-12-27 12:07:12 +00:00
Matthew Flatt
5c76cb507e finish mz docs
svn: r8123
2007-12-26 02:58:13 +00:00
Matthew Flatt
415cd0bf15 lazy, force, delay in scheme/promise and scheme; clean up mzscheme some, and clean up the docs some
svn: r8053
2007-12-18 21:37:23 +00:00
Matthew Flatt
f12a39d97b added scheme/help
svn: r8016
2007-12-15 18:02:05 +00:00
Matthew Flatt
ca5a7c5560 split part of scheme/file into scheme/path, document them
svn: r7938
2007-12-10 17:59:26 +00:00