Commit Graph

73 Commits

Author SHA1 Message Date
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
b6d2fdc274 change error message
svn: r16333
2009-10-15 23:38:07 +00:00
Jon Rafkind
5daa334ab7 implement syntax-rules in honu using syntax/parse for now
svn: r16332
2009-10-15 23:37:20 +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
Jon Rafkind
7b3d069f47 updates from mzscheme->scheme
svn: r13751
2009-02-19 22:26:10 +00:00
Jon Rafkind
f0cac461e7 some refactorings and comments
svn: r13381
2009-02-03 17:39:43 +00:00
Jon Rafkind
6ebd445726 add != to honu. start making some tests
svn: r13372
2009-02-03 01:47:33 +00:00
Matthew Flatt
a0f91d905e revised internal-definitions context and a basic 'define-package' form
svn: r12579
2008-11-24 19:52:41 +00:00
Eli Barzilay
7d6bc32ed9 * Extended syntax/module-reader to deal with many more situations
using keywords, and allowing arbitrary code in the reader module
* Added tests for the new functionality
* Used the new stuff for the r5rs, r6rs, and honu readers

svn: r11495
2008-08-31 06:25:41 +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
98e601e72b Honu: merging fix to Honu interactions window into trunk.
svn: r1969
2006-01-25 20:58:25 +00:00
Carl Eastlund
f1b37e9793 Honu
tool.ss
- Added comments and contracts to all functions/methods
- Moved all definitions inside Honu language class
- Simplified some functions
- Removed Honu "configuration" option
format.ss
- Started new module for text formatting of Honu values

svn: r1964
2006-01-25 18:33:24 +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
24b9e2f5c7 Reverted changes which broke setup-plt.
svn: r1871
2006-01-19 15:05:51 +00:00
Carl Eastlund
830f29891c Honu: continued implementation of contract helpers.
svn: r1860
2006-01-18 23:30:02 +00:00
Carl Eastlund
07c86de139 Honu: BROKEN (will fix in upcoming checkin)
- added current partial changes to todo list
- renamed most ast structs (haven't propagated)
- added contracts to some ast structs (haven't finished)
- removed define,provide,contract helpers from utils.ss
- started contracts.ss for those and others
- began writing define-structs,provide,contract
  for defining hierarchies of structs at once

svn: r1859
2006-01-18 22:54:17 +00:00
Carl Eastlund
3bdd7c603d Updated Honu goals
svn: r1855
2006-01-17 23:52:17 +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
d93594fe2a Honu: Added todo list to cce-notes.txt
svn: r1840
2006-01-16 18:25:03 +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
61986e146f Honu:
- added documentation of mixin definition form.

svn: r1246
2005-11-07 19:56:31 +00:00
Robby Findler
40517379bd improved not-a-language language
svn: r1241
2005-11-06 20:55:39 +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
Carl Eastlund
cc6b1954e5 Honu:
- top.ss
  - removed top: prefix from exports
  - renamed parse-file to ast-from-file to prevent name clash
  - removed test case list and run-tests
- test-cases.ss
  - added test case list and run-tests
- test-tools.ss
  - renamed from test.ss

svn: r945
2005-09-29 22:21:48 +00:00
Carl Eastlund
365754f55c Honu:
- top.ss
  - commented out compile-failure tests for now
- cce-notes.txt
  - added my preliminary notes about the Honu codebase
- examples/*-test.ss
  - added *-test.ss files for all *.honu files

svn: r943
2005-09-29 16:14:54 +00:00
Carl Eastlund
fc45eb8125 Honu:
- top.ss
  - Added top:eval-after-program
    to evaluate a new syntax in the context of Honu definitions
  - Added previous contents of test.ss - testing is a top-level behavior
- test.ss
  - Removed top-level testing calls
  - Added bindings useful from testcase code
  - New purpose is to be auto-required from *-test.ss when *.honu is tested
- examples/point-test.ss
  - Removed now-redundant definitions
- examples/BoundedStack-test.ss
  - Wrote tests for BoundedStack, both of defined names and actual code results
- examples/BoundedStack.honu
  - Removed test results that are now in ...-test.ss

svn: r930
2005-09-29 00:18:44 +00:00
Carl Eastlund
728f65e9af Honu:
- test.ss
  - Special case, short error messages if test files not found
- parsers/parse.ss
  - Removed make-struct-type-decls and make-struct-exports
    (at Stevie's instruction: functionality duplicated elsewhere)
- tenv.ss, ast.ss, compile.ss
  - linewrapped code and comments to 100 columns or less

svn: r928
2005-09-28 19:56:44 +00:00
Carl Eastlund
6b184c70de Honu:
- test.ss
  - added list of examples files to test
  - added test-file function to run file and related test cases
  - added run-tests to run automated honu tests
- examples/
  - added test case file for point.honu
- top.ss
  - imported util.ss
  - added run-programs
  - moved test-program to test.ss
- util.ss
  - removed unnecessary "ast.ss" import
  - added "contract.ss" import
  - changed names to prevent import name-clash
  - added definitions of define/p (provide) and define/c (provide/contract),
    plus define-struct versions
  - added map-values for mapping functions which return arbitrary numbers of values
- tenv.ss
  - added sqrt() function to Honu environment

svn: r909
2005-09-24 07:50:32 +00:00
Carl Eastlund
d023288e05 Honu, top.ss:
- Changed names:
  - no longer add honu: prefix to imports
  - now include top: prefix on exports
  - *-introduced-identifiers now *-names (produce symbols, not identifiers)
- Added tenv:entry-mangled-name
- Implemented run-test-class-from-name to print whether a class is/isn't test code

svn: r906
2005-09-23 01:47:34 +00:00
Carl Eastlund
fd91f3afdc Honu, top.ss:
- Removed unused contract.
- Added abstraction for setting current-compile-context.
- Changed names of some input variables.
- Added names of introduced definitions to output of run-program.
- Begain writing test-program (for running test cases).

svn: r905
2005-09-22 21:43:20 +00:00
Carl Eastlund
097e65a084 Honu:
- added top.ss, containing mzscheme-accessible compilation commands.
- line-wrapped tool.ss to max width 100.

svn: r896
2005-09-21 15:47:48 +00:00
Stevie Strickland
ef55cd3242 PR 7535
svn: r639
2005-08-23 18:50:37 +00:00
Stevie Strickland
47a3f0176b PR 7541
svn: r636
2005-08-23 07:17:48 +00:00
Stevie Strickland
9ed4869adb Fixing up bad grammar rule for cond clauses with else.
svn: r608
2005-08-16 22:01:27 +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
a12f1d1bc8 Fixing up precedences such that the order of operations make a little more
sense when dealing with order of application/selectors/casting.

svn: r346
2005-07-05 07:24:26 +00:00