Commit Graph

246 Commits

Author SHA1 Message Date
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
Matthew Flatt
eab8008c4f change 'include' and 'include-bitmap' to better match normal module-path syntax
svn: r7936
2007-12-10 16:13:25 +00:00
Matthew Flatt
391892a848 3.99.0.3: improved namespace API
svn: r7756
2007-11-18 02:06:57 +00:00
Matthew Flatt
6056159ad7 class and mzc -k fixes
svn: r7724
2007-11-14 16:24:48 +00:00
Matthew Flatt
b8d9e4f406 mzc -e fixes
svn: r7714
2007-11-14 01:25:01 +00:00
Matthew Flatt
39cedb62ed v3.99.0.2
svn: r7706
2007-11-13 12:40:00 +00:00
Matthew Flatt
dec670ff75 fix problem where --save-temps didn't work for 3m-generated file (due to lingering handler installed by 3m)
svn: r7320
2007-09-11 20:56:08 +00:00
Matthew Flatt
e4cbc4e6a9 371.2
svn: r7263
2007-09-02 17:39:32 +00:00
Matthew Flatt
5e0ed3552a constrain use of normal-case-path to just the path part
svn: r6958
2007-07-25 13:56:15 +00:00
Matthew Flatt
38f7ef41ed fix incorrect handling of extern "C" in xform
svn: r6713
2007-06-21 08:40:38 +00:00
Matthew Flatt
73a913f63f add missing path->complete-path for unix/windows bundle-directory
svn: r6371
2007-05-29 11:45:44 +00:00
Matthew Flatt
e9385a910e 370.2
svn: r6369
2007-05-29 03:26:32 +00:00
Matthew Flatt
81d1f12b7c note mzc bug near its source
svn: r6246
2007-05-24 01:23:30 +00:00
Matthew Flatt
acce4106f4 recognize more nan and inf C function names
svn: r6236
2007-05-20 21:31:59 +00:00
Matthew Flatt
e85a15df98 add support for 'lib paths in define-runtime-path, and change world.ss to use it
svn: r6150
2007-05-05 00:17:06 +00:00
Matthew Flatt
6afb79188d test and fix hook for create-embedding-executable
svn: r6036
2007-04-25 00:43:51 +00:00
Matthew Flatt
e33ed803d0 yet another hook for create-embedding-executable
svn: r6035
2007-04-24 23:19:43 +00:00
Matthew Flatt
d5b1cc6baf add src-filter to create-exembedding-executable
svn: r6028
2007-04-24 01:18:58 +00:00
Matthew Flatt
b4ad09c116 doc correction, and expand paths before passing them on the command line
svn: r6017
2007-04-22 21:33:56 +00:00
Robby Findler
6f2bd461d6 removed tab character to make things line up in Help Desk
svn: r6013
2007-04-21 23:58:26 +00:00
Matthew Flatt
a2cbc68378 improve and module-ize mxdemo, change executable creator to prefer exetsnions (such as mxmain)
svn: r6012
2007-04-21 23:00:38 +00:00
Matthew Flatt
6be8c9f684 document new exe-making support at the create-embedding-executable level
svn: r6004
2007-04-20 01:48:50 +00:00