Commit Graph

14390 Commits

Author SHA1 Message Date
Kevin Tew
b865bb7868 gcc 4.4.1 compiler warning fix
svn: r18090
2010-02-15 20:31:24 +00:00
Kevin Tew
df51f39987 Wrap dynamic-require of place module with top_level_do
svn: r18089
2010-02-15 20:23:47 +00:00
Robby Findler
b73613460b added a test that saves and reopens a file in the teaching languages
svn: r18088
2010-02-15 18:39:15 +00:00
Sam Tobin-Hochstadt
89da613073 remove debugging code
svn: r18087
2010-02-15 18:36:26 +00:00
Eli Barzilay
cdaad4819d Welcome to a new PLT day.
svn: r18086
2010-02-15 08:50:38 +00:00
Carl Eastlund
400abdf455 Language level switching works with type enforcement turned off.
Contracts for Any and polymorphic types are proving problematic.

svn: r18085
2010-02-15 02:39:33 +00:00
Matthew Flatt
81dbd0a967 finish removing obsolete namespace-option support
svn: r18083
2010-02-14 14:30:45 +00:00
Eli Barzilay
0e587c15ca Welcome to a new PLT day.
svn: r18082
2010-02-14 08:50:31 +00:00
Eli Barzilay
925862ef7d Welcome to a new PLT day.
svn: r18078
2010-02-13 08:50:31 +00:00
Carl Eastlund
1b28ea1a6c Added automatic blame-tracking to poly/c contract in unstable (and updated use in Typed Scheme).
svn: r18075
2010-02-12 23:03:11 +00:00
Sam Tobin-Hochstadt
90c8fcff11 Generate proper contracts for polymorphic struct types.
Document `Nothing'.

svn: r18074
2010-02-12 21:57:58 +00:00
Matthew Flatt
d12e3e8c4f better solution for rev 18046
svn: r18072
2010-02-12 19:16:00 +00:00
Casey Klein
b3d9330672 Improved syntax error handling and cleaned up syntax error tests.
svn: r18070
2010-02-12 18:51:14 +00:00
Ryan Culpepper
ab71219408 syntax/parse: removed conventions debugging output
svn: r18067
2010-02-12 18:31:30 +00:00
Casey Klein
02f88787ff Fixed pattern parsing so that the components of variable-except,
variable-prefix, and cross patterns are treated as identifiers, not
arbitrary patterns.

svn: r18064
2010-02-12 16:34:38 +00:00
Sam Tobin-Hochstadt
e99b1d028c Fix printing of `Number' - reported by Noel.
Provide `assert' from `typed/scheme'

svn: r18062
2010-02-12 15:49:58 +00:00
Eli Barzilay
5143cfcd1c Welcome to a new PLT day.
svn: r18061
2010-02-12 08:50:41 +00:00
Eli Barzilay
bffce26ded Welcome to a new PLT day.
svn: r18047
2010-02-11 08:50:46 +00:00
Matthew Flatt
f94b9f4377 avoid a stack overflow with deeply call-in-nested threads
svn: r18046
2010-02-11 04:29:28 +00:00
Matthew Flatt
38a0f6d89a fix the actual result value for unboxed flmin and flmax
svn: r18045
2010-02-11 04:00:18 +00:00
Matthew Flatt
bdae105baf fix JIT flmin and flmax fp-stack handling when result is used in unboxed position
svn: r18044
2010-02-11 03:49:38 +00:00
Sam Tobin-Hochstadt
8bf908d106 More restrictive handling of contracts for the `Any' type.
svn: r18043
2010-02-10 20:45:50 +00:00
Sam Tobin-Hochstadt
39a8c288ec Better error message when definition is missing. Fixes PR 10751.
svn: r18042
2010-02-10 20:32:53 +00:00
Sam Tobin-Hochstadt
c224d2ebfc More precise types for typed MrEd wrappers.
More precise types in auto-language.ss

svn: r18041
2010-02-10 20:23:59 +00:00
Casey Klein
c0ce0debbe Improved documentation of `check-metafunction'
svn: r18039
2010-02-10 18:33:53 +00:00
Jon Rafkind
21b98bb2fa add example for "with-syntax"
svn: r18038
2010-02-10 17:49:26 +00:00
Robby Findler
8f5d2e1864 apparently the 1 pixel circle under linux draws in exactly one pixel when not in smoothed mode, which broke a test case; so that's changed now
svn: r18037
2010-02-10 17:40:21 +00:00
Stevie Strickland
c1f7ba9042 Add ellipses to the compound-unit, compound-unit/infer grammars for the
import parts of link clauses.

svn: r18036
2010-02-10 16:15:45 +00:00
Eli Barzilay
c87f516327 Welcome to a new PLT day.
svn: r18035
2010-02-10 08:50:31 +00:00
Matthew Flatt
aad22e2c3e restore scheme/future
svn: r18032
2010-02-09 17:19:58 +00:00
Matthew Flatt
0a13958284 fix for Sparc Linux from James Vega (PR 10750)
svn: r18031
2010-02-09 16:16:47 +00:00
Robby Findler
8228482d86 fixed up the regexp-match contracts to make them more specific
svn: r18030
2010-02-09 16:03:03 +00:00
Robby Findler
419a50860c probable fix to the runtime error seen in drdr
svn: r18029
2010-02-09 15:15:11 +00:00
Robby Findler
e581ac7bfd made room for some tests in here and added them
svn: r18028
2010-02-09 14:53:09 +00:00
Eli Barzilay
f4f0ffabff Welcome to a new PLT day.
svn: r18027
2010-02-09 08:50:41 +00:00
Robby Findler
2ba641e05b PR 10748
svn: r18026
2010-02-09 01:00:27 +00:00
Sam Tobin-Hochstadt
2276cb10d5 Fix subtyping for keywords.
svn: r18025
2010-02-08 23:03:55 +00:00
Jon Rafkind
e5fd8a904c document latest generator functionality
svn: r18022
2010-02-08 19:47:41 +00:00
Robby Findler
4e92d54b28 possible fix to module lang test suite
svn: r18020
2010-02-08 19:44:01 +00:00
Ryan Culpepper
c1373f8214 syntax/parse:
allow forward references from conventions
  fix progress comparison bug

svn: r18019
2010-02-08 18:39:56 +00:00
Sam Tobin-Hochstadt
89eb249b00 fix dumb typo
svn: r18018
2010-02-08 18:21:43 +00:00
Sam Tobin-Hochstadt
55a48ca594 Fix a number of bugs reported by eli
svn: r18017
2010-02-08 18:17:15 +00:00
Matthew Flatt
13b5f7e095 fix recently introduced optimizer bug (affected the kanren test)
svn: r18016
2010-02-08 17:51:00 +00:00
Robby Findler
49702f8f59 moved temp files into the temp directory
svn: r18015
2010-02-08 17:40:46 +00:00
Ryan Culpepper
0f08499e54 syntax/parse: started support for backtracking into syntax classes
incomplete, need to separate descriptions from failure handlers

svn: r18013
2010-02-08 09:47:52 +00:00
Eli Barzilay
9791384b79 Welcome to a new PLT day.
svn: r18012
2010-02-08 08:50:26 +00:00
Eli Barzilay
a08f9b3d42 Welcome to a new PLT day.
svn: r18011
2010-02-07 08:50:34 +00:00
Carl Eastlund
86f0d92c26 Updated documentation for unstable/srcloc; added it for unstable/location.
svn: r18010
2010-02-06 22:44:07 +00:00
Carl Eastlund
5069f3b37e Merged from branch: ^/branches/cce/plt+contract-props+r17680
Added new implementation of contract structure properties.  Contracts are now
based on prop:contract, and flat contracts are based on prop:flat-contract.  The
flat contract property inherits prop:contract (flat contracts are contracts) and
prop:procedure (flat contracts are predicates).

A value is now a contract if it has prop:contract, or if it is a flat contract.
A value is now a flat contract if it has prop:flat-contract, or if it is a
procedure of one argument (assumed to be a predicate), or if it is one of the
constants allowed as a flat contract (e.g. booleans, numbers, strings, symbols,
regular expressions).

The old custom contract systems (proj-prop and friends, make-proj-contract and
friends) have been supplanted by the new properties, constructors for the
properties' associated values, and "simple-contract" and "simple-flat-contract"
constructors for one-off contracts.  These forms are all documented in the
reference.  Documentation of the legacy bindings has been removed, though as
many of them as possible are still exported to give legacy code time to migrate.

This commit includes all the changes to the contract system, plus replacement of
all uses of the legacy bindings (proj-prop, proj-get, make-proj-contract,
several others) in other collections.

svn: r18009
2010-02-06 20:40:03 +00:00
Carl Eastlund
fe40d3e888 Merged changes from trunk.
svn: r18007
2010-02-06 19:23:24 +00:00