Commit Graph

197 Commits

Author SHA1 Message Date
Jay McCarthy
cc82e80835 Separating bytes usage for next change
original commit: f67177f740
2010-05-24 13:14:36 -06:00
Jay McCarthy
2e344d9137 Making zo-marshal more like C and not with large byte strings
original commit: 40e1ba95fc
2010-05-24 13:14:35 -06:00
Jay McCarthy
3e79a47bfd Reformating
original commit: 325ac1ae88
2010-05-24 13:14:35 -06:00
Jay McCarthy
4c1a8c8321 Reformating
original commit: 63f546a080
2010-05-24 13:14:35 -06:00
Jay McCarthy
46f7907aca Streaming final output from zo-marshal
original commit: b892c276ff
2010-05-24 13:14:35 -06:00
Eli Barzilay
50c18d0b92 A lot of "MrEd" -> "GRacket"s.
original commit: 7f6efdc8be
2010-05-16 23:46:05 -04:00
Eli Barzilay
fa984eb710 A lot of "MzScheme" -> "Racket"s.
original commit: 2d9601089d
2010-05-16 18:26:26 -04:00
Matthew Flatt
c9e6b6cd0a have 'raco make' require an argument so that it doesn't silently do nothing when no files are supplied
original commit: 68fee973de
2010-05-10 06:27:57 -06:00
Matthew Flatt
fc1a05de68 fix decompiler
original commit: 6cfc0b481d
2010-05-08 07:37:07 -06:00
Matthew Flatt
de34946306 use .rktl suffix for files meant to be 'load'ed
original commit: e504acb726
2010-05-01 09:58:16 -06:00
Matthew Flatt
28316d5205 change 'raco c-ext' to 'raco ctool'
original commit: 81ba669237
2010-04-30 21:55:14 -06:00
Sam Tobin-Hochstadt
51c4e1f2d8 loadtest.ss -> loadtest.rkt
original commit: 85fad33c4c
2010-04-30 16:35:48 -04:00
Matthew Flatt
a42c49472e move tests/mzscheme to tests/racket
original commit: 882b7dce0e
2010-04-27 18:28:39 -06:00
Matthew Flatt
0fcf163a4d rename all files .ss -> .rkt
original commit: 28b4043077
2010-04-27 16:50:15 -06:00
Jay McCarthy
4baa63802a Moving error output to stderr
original commit: 5823da1710
2010-04-27 09:35:01 -06:00
Matthew Flatt
d650fa8fdd racket-tool -> raco
original commit: 22470e4147
2010-04-24 07:46:56 -06:00
Matthew Flatt
d898152fa1 rico -> racket-tool
original commit: c862eb8121
2010-04-21 14:24:07 -06:00
Matthew Flatt
6e479fda65 create core binaries as 'racket' and 'gracket'
original commit: 0f0a59732e
2010-04-15 21:15:57 -04:00
Matthew Flatt
abd90494f9 better compiler handling of unused local bindings where the RHS either doesn't obviously produce a single value or is discovered to be unused late in bytecode compilation; initial Scribble support for printing qq-style results
svn: r18737

original commit: c5ac9f23ec
2010-04-06 15:52:36 +00:00
Matthew Flatt
3832a4ae1a rico
svn: r18733

original commit: fdba97b1c0
2010-04-04 15:08:35 +00:00
Matthew Flatt
9136b6b85d chaperones (v4.2.5.3)
svn: r18650

original commit: 73807aef24
2010-03-28 01:10:33 +00:00
Jay McCarthy
e5aee8eedd Adding a work around for the compiler bug... plus I like it better. And adding a regression test for the compiler.
svn: r18619

original commit: 55c3176934
2010-03-25 18:14:11 +00:00
Jay McCarthy
e3c66c9d47 Supporting byte-regexps and boxes in tester. Improving speed/allocation of parser and noting places where we could do better. Updating struct contracts in code and docs.
svn: r18262

original commit: 1eea5163cc
2010-02-22 15:47:57 +00:00
Jay McCarthy
c5b4be68d5 Adding comments and specs to parser.
Clarifying comments in marshaller. Supporting small numbers, small symbols, small marshalleds, small (proper) lists, small svectors, all-from-module long form

Improving inequality detector in tester: regexps and uninterned symbols

Correcting doc contract

svn: r18194

original commit: 7d1a739df5
2010-02-19 19:47:15 +00:00
Jay McCarthy
f95ba34192 Adding testing for zo parser/marshaller/decompiler
svn: r18155

original commit: fb73b168d1
2010-02-18 21:07:05 +00:00
Ryan Culpepper
5d8ca32454 compiler/zo-parse: fixed to work on Mac/PPC
zo writer seems to always write integers in little-endian order

svn: r18141

original commit: f4321256a5
2010-02-17 23:36:58 +00:00
Jay McCarthy
3562d9f416 Forgot to add a file
svn: r18131

original commit: 2ffa8cb34f
2010-02-17 21:38:06 +00:00
Jay McCarthy
21a504a86c Added new primitive: symbol-unreadable?
Updated Scheme implementation of zo parsing and marshaling
- Separated the structs into a different file and added contracts
- Implemented stxobj marshalling
- Fixed many small bugs in parser and marshaller
- Added new structs for new parser cases

Done by Blake Johnson (BYU)
Committed by Jay

svn: r18130

original commit: a8d00cc3b3
2010-02-17 21:33:00 +00:00
Matthew Flatt
6d26d894e1 improve inling to support ((let (....) (lambda ....)) arg ...) patterns; allow nested 'let's for local flonum binding (which fixes a problem where unsafe flonum operations could end up much slower than safe ones)
svn: r17972

original commit: 3812f8ca72
2010-02-05 00:16:06 +00:00
Matthew Flatt
0c18f10bf8 fix problem with flmin/flmax and cgc
svn: r17532

original commit: f7f6b972fd
2010-01-07 16:33:26 +00:00
Matthew Flatt
3b650e1e15 built-in fixnum ops; bug fix related to misuse of flonum ops; questionable attempt to improve inlining algorithm
svn: r17461

original commit: 38d7e8fea2
2010-01-02 16:33:28 +00:00
Matthew Flatt
1b7935c819 scheme/flonum (v4.2.3.8)
svn: r17348

original commit: fdd7122994
2009-12-18 15:40:00 +00:00
Matthew Flatt
2d1e7602c1 fix up validator, decompiler, and zo-marshaler for flonum-argument annotations
svn: r17341

original commit: cab948d61f
2009-12-17 20:17:48 +00:00
Matthew Flatt
ab1cebd148 unboxed known-flonum loop accumulators
svn: r17338

original commit: bc47db42e4
2009-12-17 15:58:29 +00:00
Matthew Flatt
66b8a274d7 unboxing of let-bound flonums (v4.2.3.6)
svn: r17328

original commit: 45e84ca087
2009-12-16 13:30:40 +00:00
Matthew Flatt
e489b59124 decompiler fix to indicate that unsafe-flvector-ref can be unboxed
svn: r17289

original commit: cd961f4a6b
2009-12-13 20:13:20 +00:00
Matthew Flatt
b1aeeac4a9 bytecode-compiler changes to help enable flonum unboxing
svn: r17283

original commit: 5772fa0a9f
2009-12-13 04:39:46 +00:00
Matthew Flatt
06aeb59448 add unsafe-f64vector-{ref,set!} and improve JIT to inline arithmetic ops with more than 2 arguments
svn: r17068

original commit: 61dd4ca0b9
2009-11-26 15:07:16 +00:00
Matthew Flatt
4e9963b06b update decompiler for changed type number
svn: r16227

original commit: 7529e8d4a9
2009-10-02 23:39:29 +00:00
Matthew Flatt
95420f055d unsafe ops (v4.2.1.8)
svn: r15899

original commit: 8ae0ea9d14
2009-09-06 18:24:46 +00:00
Matthew Flatt
bf222f9bc2 adjust planet client to handle nested planet invocations by re-building the doc index only once
svn: r15246

original commit: 53a011cf65
2009-06-23 22:02:07 +00:00
Matthew Flatt
8caf639791 identifier-prune-lexical-context (4.2.0.2)
svn: r14850

original commit: 70859f0d0b
2009-05-17 12:31:51 +00:00
Matthew Flatt
57312ea2d5 zo-marshal patch from Jay
svn: r14642

original commit: b42f1b5d8b
2009-04-28 16:37:16 +00:00
Matthew Flatt
3b13ccd8fe zo-marshal supports module forms
svn: r14637

original commit: 39d405fe6e
2009-04-28 13:13:22 +00:00
Matthew Flatt
cd3f1c8707 fix zo-parse problem with graphs in literal data
svn: r14596

original commit: 2439b4cb75
2009-04-24 17:34:49 +00:00
Matthew Flatt
0a8691e0bb fix accidental commit of debugging printf
svn: r14595

original commit: 6df0ac6f51
2009-04-24 15:49:24 +00:00
Matthew Flatt
5b767d0b08 (v4.1.5.5) repair interaction of provides redirected by a rename-transformer, certification of access to unexported variables, and protected exports; also get rid of kernel-reprovide special case in export handling, because a more general export-sharing technique subsumed the special case long ago
svn: r14593

original commit: cd09b30497
2009-04-24 14:59:09 +00:00
Matthew Flatt
dd550f0a77 better eof handling in zo-parse
svn: r14252

original commit: 3b49038947
2009-03-24 18:38:18 +00:00
Matthew Flatt
bd5bfaba1c all expression forms tested for zo-marshal
svn: r13998

original commit: 282a404ada
2009-03-06 23:27:10 +00:00
Matthew Flatt
c350bac4dd some zo-marshal repairs
svn: r13984

original commit: 946a39221a
2009-03-06 17:37:28 +00:00
Matthew Flatt
cde9437405 zo-marshal bug fixes and start at test suite
svn: r13979

original commit: f1e646c8f9
2009-03-06 15:22:33 +00:00
Matthew Flatt
0d40ac7b7f partially working compiler/zo-marshal
svn: r13976

original commit: 5a8bd8b724
2009-03-06 02:23:19 +00:00
Matthew Flatt
a724fe6a00 rename write-bytecode to zo-marshal
svn: r13974

original commit: 25e7978999
2009-03-06 00:48:08 +00:00
Matthew Flatt
9cc0f1b7cd initial version of write-bytecode
svn: r13973

original commit: a1f0873143
2009-03-06 00:45:13 +00:00
Matthew Flatt
c53917fa4f document compiler/zo-parse and compiler/decompile
svn: r12947

original commit: 7aec6b8761
2008-12-28 18:57:13 +00:00
Matthew Flatt
8432051c18 fix ready-toplevel optimization
svn: r12905

original commit: 064776348a
2008-12-19 17:16:39 +00:00
Matthew Flatt
0e41ae2e49 trim some fat from module-variable references
svn: r12833

original commit: cf8b75939b
2008-12-13 17:38:14 +00:00
Matthew Flatt
34af15866c fix decompiler for recent .zo change
svn: r12722

original commit: d8c28545ea
2008-12-07 19:07:47 +00:00
Matthew Flatt
2a6f851d43 decompiler repairs
svn: r12537

original commit: 1a4b3abba7
2008-11-20 13:47:06 +00:00
Matthew Flatt
66ad436925 make the optimizer slightly smarter, so that it can see through more patterns of nested let and letrec procedure bindings
svn: r12434

original commit: 59f3f19f84
2008-11-14 00:48:54 +00:00
Matthew Flatt
c3ee691e9d improved JIT inlining of 'list'
svn: r12428

original commit: bac4053c37
2008-11-13 16:42:15 +00:00
Matthew Flatt
5730650642 change mzc verbosity
svn: r12333

original commit: f076494c48
2008-11-06 18:54:12 +00:00
Matthew Flatt
0150fc24ed fix more bugs with lib paths in exe creation
svn: r12175

original commit: 487df2362e
2008-10-30 10:55:07 +00:00
Matthew Flatt
25ac110c4f split scribble/manual module into smaller modules
svn: r12150

original commit: ea659ba286
2008-10-28 01:40:51 +00:00
Matthew Flatt
8b1b6eec7f jit tweaks
svn: r12144

original commit: 00d2aabaf0
2008-10-27 19:00:13 +00:00
Matthew Flatt
67030288cd finish decompiler on syntax objects
svn: r12077

original commit: e2d4bc0d2b
2008-10-21 00:10:47 +00:00
Matthew Flatt
128081a8e9 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

original commit: 7a55275a26
2008-10-15 22:23:56 +00:00
Matthew Flatt
9794d09d56 fix bug in exe creation where 'lib runtime-paths could be mis-parsed as mzlib paths
svn: r11966

original commit: 89f2315374
2008-10-07 16:00:36 +00:00
Matthew Flatt
42ec054ab9 add read-language, module-compiled-language-info, and module->language-info
svn: r11827

original commit: dd7db9ff7b
2008-09-21 16:00:42 +00:00
Matthew Flatt
9ed7e7ba98 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

original commit: ebab4270bf
2008-08-19 15:18:09 +00:00
Matthew Flatt
ba41523036 document 'mzc --decompile'
svn: r11317

original commit: 76cf25fc12
2008-08-19 00:50:52 +00:00
Matthew Flatt
436c1a119a add --decompile blade to mzc and refine decompiler output
svn: r11310

original commit: 64c655a516
2008-08-19 00:04:20 +00:00
Matthew Flatt
19a098a7fa expose safe-for-space clearing in decompilation
svn: r11307

original commit: e611829b76
2008-08-18 22:34:38 +00:00
Matthew Flatt
da32616652 add with-cont-mark decompilation
svn: r11306

original commit: 6a0a40773b
2008-08-18 22:28:08 +00:00
Matthew Flatt
a290d88c64 initial version of decompiler
svn: r11305

original commit: 1d754e8f66
2008-08-18 22:19:52 +00:00
Eli Barzilay
6bbd79d0b7 * 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

original commit: 7d50e61c7f
2008-07-09 07:18:06 +00:00
Matthew Flatt
876d31975b fix mac sdk support; change initial namespace to not have 'module'; set up mzc --c-mods (still need docs)
svn: r8997

original commit: b64d03d932
2008-03-16 23:08:53 +00:00
Eli Barzilay
6e98f88320 revise the way setup-plt crawls over the collection trees
svn: r8860

original commit: b76390a452
2008-03-03 22:04:28 +00:00
Eli Barzilay
aab2ad2f30 use new require specs in many places
svn: r8774

original commit: b1a08edd5a
2008-02-23 09:42:03 +00:00
Eli Barzilay
b3de60d674 add -U to avoid compiling user-specific collects
svn: r8590

original commit: 6b48a31ffb
2008-02-08 19:54:42 +00:00
Matthew Flatt
7678dce81b 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

original commit: e35c94f91d
2008-01-27 14:20:42 +00:00
Matthew Flatt
2d53c7cfb8 add --no-planet option to setup-plt
svn: r7957

original commit: 487a71bf0d
2007-12-11 13:19:23 +00:00
Matthew Flatt
553733c465 v3.99.0.2
svn: r7706

original commit: 39cedb62ed
2007-11-13 12:40:00 +00:00
Matthew Flatt
34fe3cea91 371.2
svn: r7263

original commit: e4cbc4e6a9
2007-09-02 17:39:32 +00:00
Matthew Flatt
e4ad919f65 add missing path->complete-path for unix/windows bundle-directory
svn: r6371

original commit: 73a913f63f
2007-05-29 11:45:44 +00:00
Matthew Flatt
a148d4e547 test and fix hook for create-embedding-executable
svn: r6036

original commit: 6afb79188d
2007-04-25 00:43:51 +00:00
Matthew Flatt
948669c76e doc correction, and expand paths before passing them on the command line
svn: r6017

original commit: b4ad09c116
2007-04-22 21:33:56 +00:00
Matthew Flatt
db3fe62e39 369.10
svn: r6003

original commit: a45251d272
2007-04-20 01:16:15 +00:00
Matthew Flatt
6b33e9615e unit clean-up
svn: r5160

original commit: 7b13755dad
2006-12-22 01:26:58 +00:00
Eli Barzilay
44098e1093 merged units branch
svn: r5033

original commit: 3459c3a58f
2006-12-05 20:31:14 +00:00
Eli Barzilay
f970162284 Better output: using quiet.ss will show nothing except for section
headers and errors (if any).  Also, using quiet.ss will exit with an
error code if there were errors.

svn: r3655

original commit: bbf54efde9
2006-07-07 23:46:35 +00:00
Matthew Flatt
7af0ccb668 new support file for make-executable tests
svn: r3392

original commit: 8d3d7b10d3
2006-06-18 02:00:13 +00:00
Matthew Flatt
0f76b637db improved create-executable test suite, fix for Mac OS X MrEd executable with given collection path
svn: r3391

original commit: cb7c823206
2006-06-18 01:58:29 +00:00
Matthew Flatt
311bc577fc new Create Executable in DrScheme
svn: r3178

original commit: 09d6dd95cf
2006-06-02 11:52:48 +00:00
Matthew Flatt
cb4f6b5e6e add --multi mode for -o/-g
svn: r2888

original commit: 2e944e3e2e
2006-05-09 16:58:37 +00:00
Matthew Flatt
25540a9279 301.13 (the beginning of the end for PLTHOME)
svn: r2740

original commit: 1d77707ef1
2006-04-23 02:36:55 +00:00
Matthew Flatt
2e9d470935 many repairs to Create Executable...
svn: r1558

original commit: d9bad21ca2
2005-12-07 14:27:12 +00:00
Matthew Flatt
bdd9fc9b2f 3m and mzc
svn: r1353

original commit: 58b6198fa5
2005-11-19 16:19:42 +00:00
Matthew Flatt
b69a2ea5b8 improved file dialogs for mac os x, changed create-executable interface, and fixed parsing of infix dots to require a delimitter after the second dot
svn: r1000

original commit: 5c1a331d3b
2005-10-06 15:54:38 +00:00
Matthew Flatt
6a82852338 .
original commit: 5ebf6026625d2a02f8d5c28d1dd62c3bbc467d37
2005-03-30 17:15:45 +00:00