Jon Rafkind
794efa5ebb
s/trigraph/ternary
...
svn: r17833
2010-01-26 00:25:45 +00:00
Jon Rafkind
9ee9280485
support commas in function calls
...
svn: r17832
2010-01-26 00:10:01 +00:00
Jon Rafkind
6f26a0ffeb
add trigraph expression
...
svn: r17831
2010-01-25 23:21:26 +00:00
Jon Rafkind
9dccfcbe28
factor out common expressions for better performance. thanks to ryan
...
svn: r17821
2010-01-25 18:51:34 +00:00
Jon Rafkind
bee5af120b
add more operators
...
svn: r17773
2010-01-22 22:14:28 +00:00
Jon Rafkind
3e4221b410
cleanup
...
svn: r17771
2010-01-22 21:11:26 +00:00
Jon Rafkind
91e3bc001f
use a macro for generating infix precedence table
...
svn: r17770
2010-01-22 19:55:02 +00:00
Jon Rafkind
21aab7e99c
generalize infix operator definition
...
svn: r17762
2010-01-21 00:53:13 +00:00
Jon Rafkind
94f0edd8d2
parse + expressions
...
svn: r17761
2010-01-21 00:19:23 +00:00
Jon Rafkind
8f4853a3ae
replace ; with semicolon
...
svn: r17760
2010-01-21 00:06:21 +00:00
Jon Rafkind
b3d41faa68
parse function calls and definitions
...
svn: r17669
2010-01-15 21:44:56 +00:00
Jon Rafkind
9c2ea4c1cf
use syntax/parse for parsing honu forms
...
svn: r17620
2010-01-12 21:51:34 +00:00
Jon Rafkind
4f3f35a188
wrap module with the typed-scheme module-begin
...
svn: r17316
2009-12-15 22:49:01 +00:00
Jon Rafkind
881b34dd80
bring over honu parsers
...
svn: r17314
2009-12-15 22:09:17 +00:00
Jon Rafkind
1388a28583
experiment with typed scheme
...
svn: r17312
2009-12-15 18:48:18 +00:00
Jon Rafkind
b9aa30a372
hack to disable type checking for now
...
svn: r17300
2009-12-15 00:02:22 +00:00
Jon Rafkind
81b30db001
check the context we are expanding into
...
svn: r17170
2009-12-03 00:44:11 +00:00
Jon Rafkind
3d10bff57c
experiment with different unparsed forms
...
svn: r17169
2009-12-03 00:01:52 +00:00
Jon Rafkind
6639a29829
non-greedy matching
...
svn: r17149
2009-12-01 20:39:46 +00:00
Jon Rafkind
f01aa1161a
hopefully better algorithm
...
svn: r17118
2009-11-30 22:37:33 +00:00
Jon Rafkind
ef194eb948
special case for delimiters
...
svn: r17114
2009-11-30 19:08:55 +00:00
Jon Rafkind
a8d40530f4
checkpoint new macro stuff
...
svn: r17050
2009-11-24 20:58:13 +00:00
Jon Rafkind
f3ae0f1875
remove old provide. disable honu repl
...
svn: r16532
2009-11-03 22:13:13 +00:00
Jon Rafkind
02d19e6588
remove bogus code
...
svn: r16531
2009-11-03 21:11:42 +00:00
Jon Rafkind
388a2c99d4
reorganize honu. provide ellipses properly
...
svn: r16530
2009-11-03 21:07:29 +00:00
Jon Rafkind
c3857c32e3
test
...
svn: r16458
2009-10-29 19:43:50 +00:00
Jon Rafkind
b55944bb93
upgrade to #lang scheme
...
svn: r15345
2009-06-30 21:05:16 +00:00
Jon Rafkind
3d356123cf
upgrade to #lang scheme
...
svn: r15344
2009-06-30 20:57:23 +00:00
Jon Rafkind
616630f862
add test
...
svn: r15343
2009-06-30 20:55:06 +00:00
Matthew Flatt
20fcb6314c
honu-module -> honu; misc doc and slideshow tweaks
...
svn: r10230
2008-06-12 13:02:41 +00:00
Carl Eastlund
871a696fb9
Removed out-of-date honu module.
...
svn: r2185
2006-02-09 18:14:51 +00:00
Carl Eastlund
3b3f379d22
Honu: (merging from branch)
...
- Updated testing framework to use SchemeUnit
- Added generalized environment implementation
svn: r1986
2006-01-26 19:51:30 +00:00
Carl Eastlund
114a4dab65
Honu: updating from branch
...
ast.ss
- Massive name changes for clarity
- Added structure contracts
private/tools/general.ss
- Moved from utils.ss
contract.ss
- Removed define and contract utilities (now using PLaneT tools)
svn: r1946
2006-01-24 19:54:15 +00:00
Carl Eastlund
8efd89de41
Honu:
...
- Updated todo list
- Promoted "name" field of member ASTs to member (rather than field/method/etc.)
- Added false? function
- Added extend-fenv for formal parameters
- Removed class env (folded in with lexical env)
- Added abstraction for member names of a type
- Added abstractions for enforcing distinct types and names
- Updated mixin typing rule
svn: r1854
2006-01-17 23:07:15 +00:00
Carl Eastlund
48a8dac067
Honu:
...
tenv.ss
- Moved provides to end of file
typecheck-utils.ss
- Added check-valid-types!
typechecker.ss
- Used check-valid-types!
- Added helpers for mixin name checking
svn: r1837
2006-01-15 22:05:40 +00:00
Eli Barzilay
029beb046a
fix and set svn:eol-style
...
svn: r1836
2006-01-15 19:08:07 +00:00
Carl Eastlund
e90709d65c
Changed names of some typechecking functions.
...
svn: r1835
2006-01-15 18:57:34 +00:00
Carl Eastlund
10d276dd7b
Honu:
...
util.ss
- Added curry function
- Reorganized provide list
typecheck-utils.ss
- Added module of general typechecker helpers
typechecker.ss
- Made use of typecheck-utils.ss
svn: r1834
2006-01-15 18:53:00 +00:00
Carl Eastlund
fde1701b71
Honu: split up typecheck-defns into separate functions.
...
svn: r1832
2006-01-15 17:24:00 +00:00
Carl Eastlund
6494462e1a
Honu:
...
- Adjusted line wrapping in typechecker.ss
- Changed srfi1 import to use prefix rather than exclude "any"
svn: r1322
2005-11-15 17:07:02 +00:00
Carl Eastlund
a57403031e
Honu:
...
- test-cases.ss
- Used new test framework to test example files
- Used new test framework to test non-void-statement error message
- private/tools/test.ss
- Implemented new SchemeUnit-like test-case macros
svn: r987
2005-10-05 20:57:48 +00:00
Carl Eastlund
f3d24c7d46
Honu:
...
- doc.txt, documented the sqrt() function
- typecheck-expression.ss, line-wrapped to <100 columns
- type-utils.ss, changed printout for void type from "<>" to "void"
svn: r980
2005-10-04 22:01:03 +00:00
Stevie Strickland
47a3f0176b
PR 7541
...
svn: r636
2005-08-23 07:17:48 +00:00
Stevie Strickland
db07756a73
merging 355:360 from branches/sstrickl
...
Added basic uniqueness checks for type/class members, fun args, etc. Also
added checks to make sure that all exports for the same type agree in what
they're exporting.
svn: r361
2005-07-06 03:07:18 +00:00
Stevie Strickland
c7fb7b5ec5
Separated out the cruft for syntax into a separate value until it gets into
...
the tool, where we combine it, and then drop it appropriately.
svn: r348
2005-07-05 18:38:24 +00:00
Stevie Strickland
359415ca42
Using the don't care syntax in List.honu triggered a bug, so now that's
...
fixed. Also added foreach to the List type in the appropriate places.
svn: r345
2005-07-05 07:14:54 +00:00
Stevie Strickland
a440c19b44
Missed removing cenv from one of the typecheck-expression calls.
...
svn: r343
2005-07-05 02:41:26 +00:00
Stevie Strickland
73b1b12558
Now mixins also show up as being bound appropriately. I also removed the
...
old honu:type function that has no use now that I'm doing things the
"right" way.
svn: r342
2005-07-05 01:54:21 +00:00
Stevie Strickland
2feaff9d19
Moving all the calculation for what needs to be dragged along kicking
...
and screaming into its own file, and now we stick that stuff into its
own little space at the front of what translate returns so that it's
seen by Check Syntax, but we can drop it like a hot potato when it
comes time to run the compiled code.
svn: r340
2005-07-05 01:25:46 +00:00
Stevie Strickland
d3654cfdec
Forgot to give map its list argument.
...
svn: r337
2005-07-04 22:40:31 +00:00