Commit Graph

426 Commits

Author SHA1 Message Date
Matthew Flatt
7b11c290f5 qq fixes, so that (quasiquote #(unquote lst)) is a syntax error
svn: r13517
2009-02-11 15:01:04 +00:00
Matthew Flatt
767766521c infix for literal prefab structs, quasiquote unquoting in value positions of hash-table literals, and related changes (v4.1.4.3)
svn: r13504
2009-02-09 15:27:51 +00:00
Matthew Flatt
e5756667d6 use PDF-based picts in the Latex build of the Quick tutorial; in general, change a .pdf image extension to .png for HTML output; add package-original-identifiers and fix package-exporte-identifiers
svn: r13432
2009-02-04 21:03:28 +00:00
Eli Barzilay
a2537d7dc9 second attempt at forbidding self-calls, with a long explanation why its forbidden, which is actually a sketch for how to make it work...
svn: r13376
2009-02-03 13:29:33 +00:00
Matthew Flatt
3d04e81fa0 fix arity error for method with optional arguments
svn: r13375
2009-02-03 13:13:53 +00:00
Matthew Flatt
dd67fa3cfb disable sandbox nested-evaluator check
svn: r13349
2009-02-02 13:10:25 +00:00
Eli Barzilay
39e07d0843 forbid nested evaluator calls
svn: r13338
2009-01-31 19:44:20 +00:00
Sam Tobin-Hochstadt
5baa4390d3 Fix handling of (or) in match.
svn: r13295
2009-01-27 19:57:59 +00:00
Matthew Flatt
5e2dfcbac4 define-runtime-module-path
svn: r13283
2009-01-26 00:32:26 +00:00
Stevie Strickland
72d551082d If we're using known-good-contract here, we won't always have an identifier
for the contract, so use the contract in that case.  Also rename to
contract-stx in make-with-contract-transformer so its name isn't misleading.

svn: r13269
2009-01-23 20:34:59 +00:00
Matthew Flatt
db12513b65 fix #:all-defined for 'define-package' by adjusting 'identifier-remove-from-definition-context'; add for-syntax 'package?' and 'package-export-identifiers'; adjust Scribble to find definitions of phase-1 exports
svn: r13253
2009-01-21 20:00:55 +00:00
Stevie Strickland
ffa59b4548 Fix with-contract so that it expands slowly into a series of begins instead
of erroneously attempting to head expand all the expressions before it does
any work.

Remove an extra verify-contract call in define/contract while we're at it.

svn: r13198
2009-01-18 05:21:29 +00:00
Stevie Strickland
16700ed8fc Now that I know what's going on, we no longer have to shift all the
generated defines towards the bottom (which didn't help anyway).

Notice how marker-f is now defined -- that's the solution Matthew presented
to me.

svn: r13196
2009-01-18 05:00:43 +00:00
Stevie Strickland
9142823419 Forgot to remove a paren from my quick edit on the command line there.
svn: r13190
2009-01-17 19:49:13 +00:00
Stevie Strickland
0401130784 Here, let's store this change I was working on to fix up the expansion of
with-contract (since I can't head-expand-all like I was erroneously thinking).

svn: r13189
2009-01-17 19:44:28 +00:00
Matthew Flatt
c33a201c43 fix splicing-syntax-parameterize with begin (patch from Stevie) --- should be merged to 4.1.4
svn: r13187
2009-01-17 12:27:06 +00:00
Stevie Strickland
768117b201 Sync to trunk in preparation of merging (though unit-contracts will go first).
svn: r13171
2009-01-16 16:59:20 +00:00
Eli Barzilay
c0bdc22085 bleh
svn: r13169
2009-01-16 16:36:51 +00:00
Eli Barzilay
c5f8c43dbf better code order
svn: r13168
2009-01-16 16:29:53 +00:00
Eli Barzilay
99592959b8 fix display/write swap, use ~s for exn-messages
svn: r13161
2009-01-16 05:49:16 +00:00
Eli Barzilay
a76cdc248f added promise-forced? and promise-running?
svn: r13160
2009-01-16 05:46:07 +00:00
Stevie Strickland
6672638df1 Syncing up.
svn: r13154
2009-01-15 17:57:25 +00:00
Matthew Flatt
6aea96cb5c improve name of class field accessors/mutators
svn: r13150
2009-01-15 13:49:04 +00:00
Stevie Strickland
f72060a72b Yep, another sync.
svn: r13146
2009-01-15 09:15:20 +00:00
Stevie Strickland
8b5b007a51 We want to cover the marked version of the identifier (which has the proper
value), not the "regular" version that's now a transformer to a contracted
version of the marked identifier (and thus double-contracting here).

svn: r13145
2009-01-15 09:11:50 +00:00
Eli Barzilay
873fe865cd another tweak to the error message
svn: r13139
2009-01-15 03:24:04 +00:00
Stevie Strickland
ea3879fd8f Syncing again, whee.
svn: r13136
2009-01-15 02:35:34 +00:00
Eli Barzilay
3418b1404e plural
svn: r13131
2009-01-14 22:58:06 +00:00
Eli Barzilay
559363bc2b remove #:from from error message, a little clearer code
svn: r13130
2009-01-14 22:57:52 +00:00
Matthew Flatt
9e341c4e0d correct syntax-error message for 'help'
svn: r13129
2009-01-14 22:52:06 +00:00
Eli Barzilay
62ed5ba3ad make it require one or more strings, just in case
svn: r13127
2009-01-14 22:39:17 +00:00
Eli Barzilay
ac5dcae9e6 make (help "foo") run a search for "foo"
svn: r13126
2009-01-14 22:35:39 +00:00
Stevie Strickland
8ef9977f57 Change contract error reporting back to how it was (at least how it is on
unit-contracts, which avoids the spacing issue), and just change the blame
notation so that we can still report the region/definition stuff.

svn: r13122
2009-01-14 21:21:59 +00:00
Stevie Strickland
9facb3ffaf Forgot a quote-syntax here, so unprotected ids weren't being transformed
correctly.

svn: r13121
2009-01-14 20:58:38 +00:00
Stevie Strickland
5ac3135cd6 Syncing up here as well.
svn: r13118
2009-01-14 18:27:06 +00:00
Eli Barzilay
d1a0086471 newlines at EOFs
svn: r13105
2009-01-14 03:10:47 +00:00
Stevie Strickland
455999eadd Add first-order contract checking at definition time.
svn: r13095
2009-01-13 20:52:58 +00:00
Stevie Strickland
4899d91b97 Lacked unprotected ids, and c should have never been false here anyway.
svn: r13093
2009-01-13 20:40:36 +00:00
Stevie Strickland
1cede752f9 Not sure whether we want just a simple rename transformer for non-contracted
ids or whether we really want a set! transformer that still disallows set!ing.
Hmm.

svn: r13090
2009-01-13 19:41:52 +00:00
Stevie Strickland
909dd82f7c Using splicing-syntax-parameterize and a syntax-introducer instead of
what I had originally.

svn: r13089
2009-01-13 19:36:54 +00:00
Stevie Strickland
51da9beab4 This is a change I was toying with that shouldn't have gotten caught up in
the trunk sync of 13084.

svn: r13088
2009-01-13 19:01:21 +00:00
Stevie Strickland
2537508865 Syncing on up
svn: r13084
2009-01-13 01:05:50 +00:00
Matthew Flatt
2530e04720 add some-system-path<->string functions to scheme/path
svn: r13065
2009-01-11 14:47:51 +00:00
Matthew Flatt
4180d67e34 make scheme/path fuctions work on paths for any playform
svn: r13064
2009-01-11 13:52:26 +00:00
Matthew Flatt
a58010fd0d scheme/class: fix local member names to provide an better message on misuse, and to declare itself as an expression form
svn: r13050
2009-01-09 21:00:50 +00:00
Stevie Strickland
22ee00b10f Oh, no! Aliens, bio-duplication, nude conspiracies.. oh my God,
Lyndon LaRouche was right!

svn: r13037
2009-01-08 14:55:23 +00:00
Robby Findler
c9ebe9bba3 changed the way or/c works; PR 10010
svn: r13030
2009-01-07 16:48:17 +00:00
Matthew Flatt
821a82195e change 'help' to open the main doc page instead of the docs for 'help' itself
svn: r13004
2009-01-04 23:15:50 +00:00
Robby Findler
97e00eef97 fixed a bug in the ->d contract checking (wrt tail dropping)
svn: r12987
2009-01-03 16:57:46 +00:00
Robby Findler
3af2ea45d0 changed ->d so that it only checks the contract just above, not many above
svn: r12986
2009-01-03 16:40:54 +00:00