Gareth Rees
8cdceed6da
Try segregating leaf objects.
...
Copied from Perforce
Change: 180209
ServerID: perforce.ravenbrook.com
2012-10-31 22:52:39 +00:00
Gareth Rees
37c725f76b
Weak hash tables in scheme-advanced.c.
...
Copied from Perforce
Change: 180208
ServerID: perforce.ravenbrook.com
2012-10-31 22:13:46 +00:00
Gareth Rees
38a47fdecd
Branch scheme.c to scheme-advanced.c.
...
Copied from Perforce
Change: 180204
ServerID: perforce.ravenbrook.com
2012-10-31 19:10:58 +00:00
Gareth Rees
07782b09d6
Move old scheme to example/scheme/scheme-malloc.c
...
Provide instructions to build it.
Copied from Perforce
Change: 180185
ServerID: perforce.ravenbrook.com
2012-10-31 12:02:11 +00:00
Gareth Rees
57846b3f16
Improve the scheme example hashtable implementation:
...
1. Follow R6RS for naming of functions and arguments.
2. Grow the hashtable when half full.
Copied from Perforce
Change: 180184
ServerID: perforce.ravenbrook.com
2012-10-31 11:54:25 +00:00
Gareth Rees
ba1c150cba
Put explanations of the location dependency code into scheme.c. also, add lots of cross-references to the manual.
...
Copied from Perforce
Change: 180121
ServerID: perforce.ravenbrook.com
2012-10-28 19:13:56 +00:00
Gareth Rees
5828766a9a
Simplify scheme hash table implementation by folding the hash into buckets_find.
...
Copied from Perforce
Change: 180086
ServerID: perforce.ravenbrook.com
2012-10-25 21:18:40 +01:00
Gareth Rees
6f00a2f8bd
Write location chapter.
...
Copied from Perforce
Change: 180080
ServerID: perforce.ravenbrook.com
2012-10-25 17:58:49 +01:00
Gareth Rees
c41b4d2761
Simple address-based (eq?) hash table implementation without location dependency.
...
Copied from Perforce
Change: 180079
ServerID: perforce.ravenbrook.com
2012-10-25 16:03:35 +01:00
Gareth Rees
1603f60954
(gc) takes no arguments, so check this.
...
Copied from Perforce
Change: 180075
ServerID: perforce.ravenbrook.com
2012-10-25 14:03:07 +01:00
Gareth Rees
f7cf9e366c
Be clear about the need to reserve lots of address space in a virtual memory arena.
...
Copied from Perforce
Change: 180071
ServerID: perforce.ravenbrook.com
2012-10-25 11:34:45 +01:00
Gareth Rees
6675558167
Complete actions from meeting with rb.
...
Copied from Perforce
Change: 180056
ServerID: perforce.ravenbrook.com
2012-10-24 16:25:19 +01:00
Gareth Rees
399c0253c1
R4rs is the "one true scheme" according to rb, so refer to that.
...
Copied from Perforce
Change: 180033
ServerID: perforce.ravenbrook.com
2012-10-23 17:35:51 +01:00
Gareth Rees
bbfd48355f
Give correct reference for open-input-file (it's in the standard library, not the language).
...
Remove string-set! (was removed in R6RS).
Copied from Perforce
Change: 180019
ServerID: perforce.ravenbrook.com
2012-10-22 23:09:37 +01:00
Gareth Rees
3e9ad7ed80
Enable finalization messages.
...
Rename entry_open_in to entry_open_input for consistency.
Add comments with specification from R6RS.
Copied from Perforce
Change: 180008
ServerID: perforce.ravenbrook.com
2012-10-22 15:54:20 +01:00
Gareth Rees
e18c4fda16
Fix bug in append when the first argument is nil.
...
Copied from Perforce
Change: 180004
ServerID: perforce.ravenbrook.com
2012-10-22 12:54:35 +01:00
Gareth Rees
640765f1d7
Implement procedure?, char?, char->integer, integer->char, string->list, and list->string.
...
Copied from Perforce
Change: 179991
ServerID: perforce.ravenbrook.com
2012-10-21 20:38:27 +01:00
Gareth Rees
750a1a4c28
Implement some string procedures: string?, make-string, string, string-length, string-ref, string-set!, substring, string-append, string-copy.
...
Copied from Perforce
Change: 179990
ServerID: perforce.ravenbrook.com
2012-10-21 19:59:47 +01:00
Gareth Rees
65f88af86c
Propagate changes from scheme-after.c to scheme.c; the former is no longer needed.
...
Convert license.txt and built.txt to reStructuredText and include them directly in the manual.
Copied from Perforce
Change: 179957
ServerID: perforce.ravenbrook.com
2012-10-19 11:26:25 +01:00
Gareth Rees
9b5960fbd0
Make sure that errors can be reported during initialization.
...
Fix cross-reference (now "start", not "main").
Copied from Perforce
Change: 179902
ServerID: perforce.ravenbrook.com
2012-10-16 16:22:45 +01:00
Gareth Rees
fa54a2706f
Fix url.
...
Copied from Perforce
Change: 179896
ServerID: perforce.ravenbrook.com
2012-10-16 12:17:19 +01:00
Richard Brooksby
d8902d2237
Improving the start-up message on the scheme example as suggested by gdr.
...
Copied from Perforce
Change: 179576
ServerID: perforce.ravenbrook.com
2012-09-20 08:56:00 +01:00
Richard Brooksby
97826b14d9
Implemented tail recursion.
...
Copied from Perforce
Change: 179572
ServerID: perforce.ravenbrook.com
2012-09-19 23:02:51 +01:00
Richard Brooksby
b42f496475
Generating the scheme example makefile using autoconf, so that it gets the right flags for the platform.
...
Copied from Perforce
Change: 179569
ServerID: perforce.ravenbrook.com
2012-09-19 21:45:32 +01:00
Nick Barnes
0cb0531ed2
Added > and < operators so i could write (define (tak a b c) ...) and other things.
...
Copied from Perforce
Change: 179469
ServerID: perforce.ravenbrook.com
2012-09-13 13:45:21 +01:00
Richard Brooksby
d8ae9d263d
Adding finalization to ports to show how it's done.
...
Printing statistics at the end of a collection.
Adding a Scheme function to force a full GC.
Adding the global syntax symbols as roots. Oops!
Copied from Perforce
Change: 179447
ServerID: perforce.ravenbrook.com
2012-09-12 19:07:36 +01:00
Richard Brooksby
bf43ca2f73
Integrating deletions from branch/2012-09-10/scheme-example. oops.
...
Copied from Perforce
Change: 179430
ServerID: perforce.ravenbrook.com
2012-09-11 16:44:39 +01:00
Richard Brooksby
a16141d2a6
Integrating branch/2012-09-10/scheme-example
...
Copied from Perforce
Change: 179429
ServerID: perforce.ravenbrook.com
2012-09-11 16:41:33 +01:00
Richard Brooksby
8eda125100
Fixing another %%mps marker.
...
Copied from Perforce
Change: 179422
ServerID: perforce.ravenbrook.com
2012-09-11 15:08:00 +01:00
Richard Brooksby
c56e78aa8e
Making %%mps markers consistent and adding one to the symbol table.
...
Copied from Perforce
Change: 179421
ServerID: perforce.ravenbrook.com
2012-09-11 15:07:17 +01:00
Richard Brooksby
80a86db640
Adding a note about integration time.
...
Copied from Perforce
Change: 179420
ServerID: perforce.ravenbrook.com
2012-09-11 15:04:59 +01:00
Richard Brooksby
0517e5176f
Expunging the "hello world" example and replacing it with the scheme interpreter example where appropriate.
...
Copied from Perforce
Change: 179419
ServerID: perforce.ravenbrook.com
2012-09-11 14:52:27 +01:00
Richard Brooksby
44a8231388
Further improvements to documentation in the scheme example.
...
Copied from Perforce
Change: 179418
ServerID: perforce.ravenbrook.com
2012-09-11 14:51:45 +01:00
Richard Brooksby
5bea3c8339
Converting old "@@@@" markers into todos as appropriate.
...
Removing FIXMEs that are already fixed.
Copied from Perforce
Change: 179416
ServerID: perforce.ravenbrook.com
2012-09-11 10:59:12 +01:00
Richard Brooksby
e02c58986a
Fixed line endings. they were classic mac (cr)!
...
Added MPS TO DO list.
Added printing of GC messages.
Further documentation improvements.
Copied from Perforce
Change: 179415
ServerID: perforce.ravenbrook.com
2012-09-11 10:54:29 +01:00
Richard Brooksby
ba572d28ef
Adding explanations of how the mps is used in the scheme example.
...
Copied from Perforce
Change: 179412
ServerID: perforce.ravenbrook.com
2012-09-11 10:23:52 +01:00
Richard Brooksby
cd370f1ad8
Integrated scheme interpreter with the mps.
...
Copied from Perforce
Change: 179409
ServerID: perforce.ravenbrook.com
2012-09-11 01:43:50 +01:00
Richard Brooksby
34611b07e6
Updating title, copyright, and licence.
...
Copied from Perforce
Change: 179408
ServerID: perforce.ravenbrook.com
2012-09-10 23:25:58 +01:00
Richard Brooksby
2b079a0c18
Adding a simple scheme interpreter originally developed as a potential mps test harness.
...
Copied from Perforce
Change: 179407
ServerID: perforce.ravenbrook.com
2012-09-10 23:23:28 +01:00
Richard Kistruck
93ef5a2484
Mps master: readme et al changes for version 1.108.2
...
Copied from Perforce
Change: 164906
ServerID: perforce.ravenbrook.com
2008-05-01 17:45:07 +01:00
Richard Kistruck
37b80e5dd6
Mps master: version-name and release notes for release 1.108.1
...
Copied from Perforce
Change: 163676
ServerID: perforce.ravenbrook.com
2007-12-21 18:16:34 +00:00
Richard Kistruck
c96b49168c
Mps master: version.c, w3build.bat, hello-world: for 1.108.0
...
Copied from Perforce
Change: 162801
ServerID: perforce.ravenbrook.com
2007-07-06 16:09:32 +01:00
Richard Kistruck
7d67cabd24
mps integ -r -b mps/version/1.107/example/hello-world to master. except... i had to do this 'integ -r' by hand, because i erroneously already did an empty-integ in change 161219, so p4 rightly thinks it's done it already.
...
Copied from Perforce
Change: 161249
ServerID: perforce.ravenbrook.com
2006-12-15 15:57:56 +00:00
Richard Kistruck
18002f9a3e
Mps: example code: hello-world: line-wrap code, tweak success message.
...
Copied from Perforce
Change: 158083
ServerID: perforce.ravenbrook.com
2006-04-10 16:56:29 +01:00
Richard Kistruck
0e9fe8c042
Mps: example code: rename 01hello as hello-world
...
Copied from Perforce
Change: 158082
ServerID: perforce.ravenbrook.com
2006-04-10 16:37:14 +01:00
Richard Kistruck
f956056b75
Mps: example code: write index page.
...
Copied from Perforce
Change: 158081
ServerID: perforce.ravenbrook.com
2006-04-10 16:25:12 +01:00
Richard Kistruck
9c764b2c83
Mps: example code: hello-world: word-wrap text to 72
...
Copied from Perforce
Change: 158080
ServerID: perforce.ravenbrook.com
2006-04-10 15:59:34 +01:00
Richard Kistruck
b59eb3e825
Mps: example code: tidy up hello-world for release 1.106.2
...
Copied from Perforce
Change: 158079
ServerID: perforce.ravenbrook.com
2006-04-10 15:52:32 +01:00
Richard Kistruck
a8ce3c25aa
Mps: example code: 01hello.c
...
Copied from Perforce
Change: 158078
ServerID: perforce.ravenbrook.com
2006-04-10 15:01:46 +01:00
Richard Kistruck
80751e006d
Mps example code: create index page
...
Copied from Perforce
Change: 158076
ServerID: perforce.ravenbrook.com
2006-04-10 14:36:54 +01:00