Commit Graph

305 Commits (f11b08e54474b02869be8b1ed80461f04aeeb56c)
 

Author SHA1 Message Date
Matthew Flatt f11b08e544 fill in some pkg `implies'
original commit: 5c42f46158248130a8179e7a563d16c5fc9d0d35
12 years ago
Matthew Flatt 9e82692a00 a step toward single-collection packages as default
A package's "info.rkt" file should define `collection' as a
string to name a single-collection package's collection, or as
the symbol 'multi to declare the package as multi-collection.
If `collection' is 'same-as-pkg, then the package name is used
as the collection name.

The default for `collection' is 'multi for now, but the intent
is to change the default to 'same-as-pkg after a conversion
period. Also, support for a `single-collection' definition remains
in place, but it wil be removed.

original commit: c738a6aa3eee89a82d577dd35c70eca8ed32f5b4
12 years ago
Matthew Flatt d90f2f4bfe reorganize into core plus packages
The "racket" directory contains a pared-back version of the
repository, roughly.

The "pkgs" directory everything else in the repository, but
organized into packages.

original commit: b2ebb0a28bf8136e75cd98316c22fe54c30eacb2
12 years ago
Matthew Flatt b74f930734 raco pkg create: support "source" and "binary" bundling
Adds `--from-dir' and `--from-install' flags to select the interpretation
of the argument as a directory or as the name of an installed package.
Relevant to PR 13669

Adds `--as-is' (the default), `--source', and `--binary' flags to
select a pruning mode.

The `raco setup' tool recognizes a `rendered-scribblings' specification
in "info.rkt" to trigger moving rendered documentation into place,
registering its tags in the cross-reference database, and fixing up
references to "local-redirect.js"; the presence of a "synced.rktd"
indicates when those fixups have been performed (since, if the package
is installed in a user-specific scope, the documentation doesn't actually
move anywhere). Finally, "out<n>.sxref" needs to report paths relative to
the documentation's directory, and then the relative-directory references
need to be suitably resolved at derserialization; some support for such
relative paths was in place, but it wasn't quite general enough before.

original commit: 198a65a5fc79649ec167d2407c35815768a119ba
12 years ago
John Clements 111de51b65 specified match precedence in lexer... hope I'm right
original commit: 27503c3ae9a1b3958a795f180ed8eb3ddbbfc019
12 years ago
Eli Barzilay 7c115199b5 Fix lots of indentation mistakes.
(Found by my ayatollah script...)

original commit: af6be85ff576e475753a46bd3f1690eb8bf88a28
12 years ago
Danny Yoo 0156d62399 Modify the src-pos error reporting in parser-tools to better show the token context.
Addresses PR 9924.

original commit: 9b86d4452fc4e1be823e12373aac2d5f432006da
12 years ago
Robby Findler f79949dce3 Rackety
original commit: 014abe64c0ab76977bd69693dc8d1e3fb6a9a1c5
12 years ago
Danny Yoo 1acb3c8401 Correct the test case so it executes the error path we want.
original commit: ab3c69ceaaa4c31d2c608a3054bafc400e02e7b8
12 years ago
Danny Yoo c6375182fa PR 13471: Add cycle-detection during lex-abbrev expansion to raise appropriate syntax error.
Also add test cases for lex-abbrev cycle detection.

original commit: 7146289c34c8256e54bda9157fcdc337047ae043
12 years ago
Matthew Flatt ec6cb60c00 paser-tools: doc clarifications
Nothing in the docs said that `parser-tools/yacc' is for LALR grammars
--- although I guess that it implied for most reader by the name "yacc",
but it doesn't hurt to say so explicitly. Meanwhile,
`parser-tools/cfg-parser' is useful for non-ambigious (non-LALR) grammars.

Also, from the style guide:
 * Section Titles Should be In Titlecase, Like This
 * Don't start a setence with an uncapitalized identifier.

original commit: 9e0fce224b9fb48e3b79e10863ca303c21c936c4
12 years ago
Danny Yoo ab6d67eb8b Strip the copy-and-paste for cfg-parser, keeping the delta vs. parser.
original commit: 4dfe4097720f52968a60f37e2bd8de99b969107c
12 years ago
Danny Yoo f79486a694 Remove paragraph about multiple start symbols, since cfg-parser doesn't support it.
original commit: 8d00037372c99891065a15a342291e79bdfb123e
12 years ago
Danny Yoo cafb8a5c62 Add documentation for cfg-parser.
original commit: e9c5c78468e1564bff9ca3966dfddc3cc4adc6e8
12 years ago
Danny Yoo e39cbed86c Modify cfg-parser's treatment of error function so it can consume both arity-3 and arity-5 error functions.
Meant to match the interface provided by parser-tools/yacc's parser.

original commit: 3d1f8b4406a2ae35b0717f757ead805e6bf9d3f4
12 years ago
Danny Yoo 81acb2ae50 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.

original commit: 7ab7d97f01f54db99fbc856b338ba82935dbe96d
12 years ago
Danny Yoo cdb627642e Gracefully handle the case where the token stream just contains the END token and an error occurs.
original commit: 69ae77a253fadbcb4ad4e87514e18f2a01b97068
12 years ago
Danny Yoo 2fd35df83a 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.

original commit: 6e21e34ec7c7a3e9cf23a3f24bfafd6155e1f14a
12 years ago
Danny Yoo 33ebcd7a78 Modernize cfg-parser from mzscheme to Racket libraries.
original commit: 4ff4c677bd354cb1a26adf0c3e0e4de03a7a3939
12 years ago
Robby Findler d6f9d98289 make the position and position-token structs transparent
(these seem to only not be transparent because that is
the default)

original commit: facea9fe43ef37bd3c2f0f42a35ba12bd1bc88b7
12 years ago
Eli Barzilay 26f857f904 Lots of bad TAB eliminations.
I started from tabs that are not on the beginning of lines, and in
several places I did further cleanings.

If you're worried about knowing who wrote some code, for example, if you
get to this commit in "git blame", then note that you can use the "-w"
flag in many git commands to ignore whitespaces.  For example, to see
per-line authors, use "git blame -w <file>".  Another example: to see
the (*much* smaller) non-whitespace changes in this (or any other)
commit, use "git log -p -w -1 <sha1>".

original commit: 672910f27b856549ad08d38832b6714edf226c8e
12 years ago
Eli Barzilay f4d9e18360 Random pickiness.
Spaces at EOFs, indentation, etc.

original commit: 7d6e79023cf9872e6f6af2f89961b742c6296f1d
13 years ago
Robby Findler e4eafd14e1 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

original commit: c0b928c758cc64b7b902fbe38838d31a3c1bc008
13 years ago
Matthew Flatt 3a4a952b98 more error-message conversions and repairs
original commit: a137459b65b54d65595e854101aae7440d9e65f6
13 years ago
Eli Barzilay c24fe38d91 A bunch of `fprintf' -> `eprintf' conversions (and a few related things).
original commit: 17090fca4f19298f01d03fea419edb20f315d040
13 years ago
Matthew Flatt 181de9ebc3 fix `cfg-parser' to more closely match `parser'
original commit: c1ceebb92a86fce791eb3965d885917195e03eb4
13 years ago
Eli Barzilay 1c2fb3197c Document `numeric'; closes PR 12338.
original commit: 8f1a4de2532114c8f724401075e669241ee9efd2
13 years ago
Matthew Flatt 6abcf2f87b add `var-ref->mod-decl-insp' and switch `cur-code-insp' uses
Macros and other tools that need syntax privilege used
`(current-code-inspector)' at the module top-level to try to
capture the right code inspector at load time. It's more
consistent to instead use the enclosing module's declaration-time
inspector, and `var-ref->mod-decl-insp' provides that. The
new function works only on references to anonymous variables,
which limits access to the inspector.

The real function name is longer, of course.

original commit: 0197902309c5400d463393829a88282c627dafd2
13 years ago
Eli Barzilay fec8ddaed9 Lots of documentation formatting.
Started as fixing misindented definitions, then more indentations, then
a bunch of similar things (square brackets, huge spaces at end-of-lines,
etc).

original commit: d61eb53686f735b979a60dc6f9efd3d2aa9777d9
13 years ago
Matthew Flatt 997ee78ce9 lexer tweak to get named procedure
original commit: fae6e273eda6188e34f38553136d374ade3807dd
13 years ago
Eli Barzilay 509800c0df ".ss" -> ".rkt" scan done.
original commit: 3157955d40f89d83fb3d5fa7a2f20639cda69579
14 years ago
Ryan Culpepper 57a7231b45 docs reorganization
added tutorial, racket categories
  relabeled some other categories
  normalized manual names: de-bolded, changed some names

original commit: 1b702a2ae32aba835f7467ced6b203902db0ccd9
14 years ago
Matthew Flatt f8081d0175 remove syntax certificates; add syntax taints
original commit: 1160d3df629ce65eb8fe9ebea2c33b8d4000ea50
14 years ago
Eli Barzilay 616c2649fd 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.

original commit: ac26fe75546b5182d78f18c2cd882f0f440849e2
14 years ago
Eli Barzilay 861d0d6110 Recketizing much in `net/*', mass ".ss" -> ".rkt" conversion in .scrbl files.
(Some other minor things here and there.)

original commit: debd1f9f1e6899e2a7e4ab5de929a49df490b5c7
14 years ago
Jay McCarthy e34d10d7a9 Adding a few index entries
original commit: d4417fab46242dc980a26585be51d4a1de6b959f
14 years ago
David Van Horn cb1c226c0e Fixes more spelling errors.
original commit: 760a58b65df2b91010d2bcc2739ddab2a4489729
14 years ago
David Van Horn eee95f195a Fixed various spelling errors.
original commit: c9519fd11300b07292df8619e86f48533eff6e4d
14 years ago
Ryan Culpepper 5a8f4925ee warning to stderr, not stdout
See PR 11691
  Merge to release branch

original commit: fd3595e7d30b7fcabba84185f8d5c4e6d63aa239
14 years ago
Eli Barzilay a2dba0a992 Some repeated "and and"s and "the the"s, and two more typos.
Closes PR 11229.

original commit: ee138cf2cba3ee32cd755a7b242ec10051180adf
14 years ago
Eli Barzilay d52b3aa1f1 More "~n" -> "\n" changes
original commit: 8e0f8dd39c3744472b450021f003f9cbe8cbcb62
14 years ago
Matthew Flatt 5d47014554 fix empty-matching lexers
original commit: a6723283b8fc9647467b8daea20f17d134bc1b29
15 years ago
Eli Barzilay 8252d4d2b6 "Racunit" -> "Rackunit"
original commit: 7b14a1f585d368bca8967072fbf3530d568e1391
15 years ago
Eli Barzilay 1f8a9aa389 A lot of "DrScheme" -> "DrRacket"s.
original commit: de0cc7771b3f4be098cfa30e552f0acad3436a0e
15 years ago
Matthew Flatt 7fc32399f2 dist-spec repairs
original commit: 1d854085d6df5efcb032e8b800c8f6f960866b50
15 years ago
Jay McCarthy f255a185c3 Renaming rktunit to racunit
original commit: bc5cf30ebe1ba3743f7097d81ebf1297435e0201
15 years ago
Jay McCarthy a9ede393e0 Renaming schemeunit to rktunit and adding compat layer
original commit: f70ffca75665f86a380c3df846c8a63b1e941b8b
15 years ago
Matthew Flatt b0a5e55273 rename all files .ss -> .rkt
original commit: 28b404307793f041bb3363135a2968e283855318
15 years ago
Mike Sperber 1f5943d07b Doc typo fix.
svn: r16516

original commit: a2de64c9ba485ebb88c484b911f0bdc4cce93c26
15 years ago
Robby Findler 2a622c0cf3 added error checking
svn: r16448

original commit: 2f47a882c955baa3111d3685af8c7cf10d364483
15 years ago