Commit Graph

63 Commits

Author SHA1 Message Date
Eli Barzilay
af6be85ff5 Fix lots of indentation mistakes.
(Found by my ayatollah script...)
2013-03-14 10:55:47 -04:00
Eli Barzilay
cec73f5652 Newlines at EOFs scan. 2013-02-23 02:09:56 -05:00
Danny Yoo
7ab7d97f01 Move cfg-parser from the algol60 collection to parser-tools.
Discussed in: http://lists.racket-lang.org/dev/archive/2013-January/011416.html

A stub library in algol60/cfg-parser will re-export the contents of
parser-tools/algol60 for backwards compatibility.
2013-01-15 14:19:15 -07:00
Danny Yoo
69ae77a253 Gracefully handle the case where the token stream just contains the END token and an error occurs. 2013-01-11 14:00:24 -07:00
Danny Yoo
6e21e34ec7 Correct location calculations for non-terminals.
The prior code constructed the location of nonterminal maches out of
the the state of the stream after parsing.  This isn't right for a few
reasons:

    1.  It doesn't get starting location correctly.

    2.  It doesn't behave when the non-terminal production did not
        actually consume tokens for its parse.

This patch modifies the parsers to also pass along a
"last-consumed-token"; it, along with a few other changes, provides
the parsers enough information to accurately construct the locations,
even when no tokens have been consumed during the parse.  We
synthesize a sentinel last-consumed-token token to take location from
the head of the stream.
2013-01-09 10:46:18 -07:00
Danny Yoo
4ff4c677bd Modernize cfg-parser from mzscheme to Racket libraries. 2012-12-13 11:58:40 -07:00
Robby Findler
c0b928c758 Added @literal-algol{} and started an algol60 test suite (apologies
if there already was one that I didn't find). Also fixed syntax
error raising procedure.

closes PR 12859
2012-06-20 10:28:53 -05:00
Matthew Flatt
c1ceebb92a fix cfg-parser' to more closely match parser' 2012-01-06 10:43:10 +01:00
Danny Yoo
5e16770932 Hacked #lang algol60 into place
(Patch from Danny Yoo, touched up a little.)
2011-08-23 12:20:21 -04:00
Eli Barzilay
3157955d40 ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
Ryan Culpepper
4d38f491ca moved algol60 and honu docs to experimental category
remove empty doc categories
2011-07-01 20:13:52 -06:00
Ryan Culpepper
1b702a2ae3 docs reorganization
added tutorial, racket categories
  relabeled some other categories
  normalized manual names: de-bolded, changed some names
2011-07-01 17:16:53 -06:00
Robby Findler
69b5daa9e6 remove docs tests that no one was interested in 2011-07-01 11:38:09 +08:00
Eli Barzilay
ac26fe7554 A ton of @scheme*' -> @racket*' and related updates.
Also, updates some of the mzlib files to point at `racket/*' libraries
rather than to `scheme/*' ones.
2011-06-25 04:08:47 -04:00
Robby Findler
507b1cd8fd moved the docs-complete library into rackunit
to avoid having a separate, new manual for the
  one library
2011-05-05 16:10:42 -05:00
Robby Findler
fcfb422294 weeded out some more of the test-docs-complete.rkt files 2011-04-25 21:20:52 -05:00
Robby Findler
e7d0029aea added lots of new tests that our documentation is complete 2011-04-25 13:24:43 -05:00
David Van Horn
760a58b65d Fixes more spelling errors. 2011-02-04 19:44:13 -07:00
Eli Barzilay
42e76eaaf4 Encode any text instead of going through a pretty-printer. 2010-10-14 13:46:51 -04:00
Eli Barzilay
7dc4d2e5a6 Change a bunch of "~%" and "~n" in format strings to "\n". 2010-08-25 17:17:01 -04:00
Eli Barzilay
2d9601089d A lot of "MzScheme" -> "Racket"s. 2010-05-16 18:26:26 -04:00
Matthew Flatt
c023c460bc misc racket renamings 2010-05-07 11:03:02 -06:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
Eli Barzilay
539519bdad Using a language makes this much cuter. Also use base64.
svn: r17240
2009-12-08 07:02:22 +00:00
Robby Findler
b5b32d1d8e added automatic compilation to the module language, plus various other tweaks (contract library enhancement, bug fixes here and there)
svn: r15635
2009-07-30 05:17:40 +00:00
Matthew Flatt
69ba957f3e Algol 60: fix coercion bug in using array argument
svn: r15435
2009-07-12 02:38:47 +00:00
Robby Findler
283c1819a9 a bunch of improvements to the splash screen (loads less code before the splash appears, got rid of a bunch of dynamic-requires that were not necessary, fixed the lack of special screen on prince kuhio and king kamehameha days, got rid of the flicker in the tools icons)
svn: r13980
2009-03-06 16:35:04 +00:00
Matthew Flatt
49a4a3a26f algol60: fix passing array slot as by-reference argument (PR 9895)
svn: r12373
2008-11-10 14:33:51 +00:00
Robby Findler
7d8d1bc37b added front-end/finished-complete-program
svn: r11084
2008-08-05 17:28:16 +00:00
Matthew Flatt
9af00fcfb4 v4.0.2.4: logging
svn: r10818
2008-07-17 15:20:17 +00:00
Eli Barzilay
7d50e61c7f * Newlines at EOFs
* Another big chunk of v4-require-isms
* Allow `#lang framework/keybinding-lang' for keybinding files
* Move hierlist sources into "mrlib/hierlist", leave stub behind

svn: r10689
2008-07-09 07:18:06 +00:00
Robby Findler
8f10fbe17d removed order-manuals method and the optional argument to language-dialog that shows help-desk manual ordering
svn: r10106
2008-06-03 03:01:36 +00:00
Matthew Flatt
a26b334c67 proprocessor doc, merge scribblings and doc-categories fields
svn: r9414
2008-04-23 00:20:25 +00:00
Matthew Flatt
f28726ab4d fix bytecode writing of prefabs, add prop:sequence
svn: r9149
2008-04-03 14:07:52 +00:00
Danny Yoo
c569701f4c Fixed other references to erroneous 'mzlib/algol60' module path.
svn: r8790
2008-02-25 01:54:28 +00:00
Eli Barzilay
bb34f747b6 make all files terminate with a newline
svn: r8786
2008-02-24 21:27:36 +00:00
Danny Yoo
49616f9f40 Fixed dynamic-requires that had erroneous mzlib prefix attached at the front.
svn: r8778
2008-02-23 19:20:44 +00:00
Eli Barzilay
b1a08edd5a use new require specs in many places
svn: r8774
2008-02-23 09:42:03 +00:00
Eli Barzilay
699c40643d * Changed setup-plt to compile collections if they have an "info.ss"
file.  (That is, it does not require the file to have a `name'
  entry.)

* The name shown when setup works is the directory name, followed by
  the `name' field from the info file when specified.

* This means that many `name's are no longer needed, so I'm removing
  them.  To see if you need a `name' entry, consider that the name
  will be shown like this:
    ... foo (<your name here>)
  This means that if the name is the same as the directory name, then
  there is no point in having it.  I also removed cases where the name
  differed only in its capitalization for collections where the case
  is obvious.

* Also, for subcollections, the name should clarify the name of the
  subcollection in context.  For example "Acknowledgments" explains
  what scribbling/acks is, but there's no need to add the context name
  as in "Scribblings: Acknowledgments".

* There may also be a point in keeping names for other uses.  One such
  example was in games, where the name field was used in the PLT Games
  application.  (This was changed to default on the directory name, so
  it is no longer needed in most games.)  Another example is in planet
  packages.

svn: r8629
2008-02-12 10:33:01 +00:00
Eli Barzilay
3c72e71e24 switched info.ss files to #lang
svn: r8532
2008-02-04 23:00:35 +00:00
Eli Barzilay
59b5f3a727 removed unused doc.txt entries from info.ss files
svn: r8529
2008-02-04 20:31:04 +00:00
Matthew Flatt
04859fb2dd normalize some doc titles
svn: r8336
2008-01-15 14:46:36 +00:00
Matthew Flatt
21d43e4635 scribbled a60
svn: r8312
2008-01-12 23:36:27 +00:00
Matthew Flatt
39cedb62ed v3.99.0.2
svn: r7706
2007-11-13 12:40:00 +00:00
Robby Findler
41d4b5d28e changed teachpacks to be language specific
svn: r6145
2007-05-04 20:45:15 +00:00
Robby Findler
e350fae8cc changed language interface to cope with new metadata save file format; also make executables work (better) in the teaching languages
svn: r6019
2007-04-23 04:10:00 +00:00
Robby Findler
e3776e5476 added 'module' wrapper for saved files in the teaching languages (and support for that in the drscheme:language:language<%> interface)
svn: r5602
2007-02-14 23:23:32 +00:00
Eli Barzilay
3459c3a58f merged units branch
svn: r5033
2006-12-05 20:31:14 +00:00
Robby Findler
4c9868bf8c got rid of get-language-id, in favor of using get-language-numbers in the preference for the current language
svn: r4079
2006-08-17 16:05:41 +00:00
Robby Findler
67f4db819d fixed PR 8186
svn: r4064
2006-08-15 03:10:15 +00:00