Eli Barzilay
e9bad827c3
Change the location information: avoid adjusting the source information
...
of `@foo' to include the `@'. This applies for both identifiers and
full @-forms.
svn: r15792
2009-08-21 13:16:08 +00:00
Eli Barzilay
1ea8c66511
In Scheme mode @|| will also throw an error instead of being read as a
...
comment. This is to avoid confusing situations like
(define foo (list x '@|| y))
which quoted the `y' since @|| was read as a comment.
svn: r15789
2009-08-21 11:11:21 +00:00
Eli Barzilay
d0f8970add
@foo@bar' will now parse as a
foo@bar' identifier. This used to be
...
the case in Scheme mode but not in text mode, and this commit makes
the text mode behave as the Scheme mode. (Seems like a convenience
point that is not useful since people won't remember the difference.)
svn: r15622
2009-07-29 17:00:29 +00:00
Eli Barzilay
4240ac8cfc
New `make-at-reader' in the API, update docs, adapt tests.
...
svn: r15121
2009-06-08 16:43:01 +00:00
Eli Barzilay
2104900bb6
pull out syntax punctuations too
...
svn: r15099
2009-06-05 22:19:23 +00:00
Eli Barzilay
2be3ac0178
* Reorganize the -inside readers in the scribble reader
...
* #:start-inside? is gone -- it never made sense
* Instead, there's a new `make-at-reader/inside' (with the same
arguments) that returns an inside syntax reader.
svn: r15073
2009-06-04 03:51:22 +00:00
Eli Barzilay
ff73a5395e
removed lots of "the the"s
...
svn: r14679
2009-05-01 21:02:51 +00:00
Eli Barzilay
83f4d6687d
regexp-match/fail-without-reading -> regexp-try-match
...
svn: r12787
2008-12-12 13:08:22 +00:00
Eli Barzilay
21640dcc36
put scribble property on escape expressions (no []s or {}s)
...
svn: r11667
2008-09-12 02:47:13 +00:00
Eli Barzilay
aa496a7328
removed redundant mzlib/string require
...
svn: r10828
2008-07-18 04:59:46 +00:00
Matthew Flatt
021d4d7527
new hash function names and ops (3.99.0.23)
...
svn: r9209
2008-04-08 21:42:38 +00:00
Eli Barzilay
08455ce632
svn: r9130
2008-04-02 00:08:02 +00:00
Matthew Flatt
aee99cd175
fix Scribble reader to attach originalness to the syntax objects that it generates, so that Check Syntax works properly on Scribble documents
...
svn: r9125
2008-04-01 17:11:30 +00:00
Eli Barzilay
be901717bf
* Adjust the source information on @(...) scheme escapes to have the
...
source start at the `@' -- useful with column-sensitive macros
* Fix a minor bug: avoid merging a @|"..."| escape to the following
text (unlike @"..." which always gets merged)
* Fix the test file to work in v4.
svn: r8921
2008-03-08 02:13:25 +00:00
Eli Barzilay
b866eeb557
read-inside-syntax -> read-syntax-inside
...
svn: r8912
2008-03-07 02:27:09 +00:00
Eli Barzilay
2aa9e5fade
added a scribble/text language for preprocessing
...
svn: r8818
2008-02-27 21:34:33 +00:00
Eli Barzilay
b1a08edd5a
use new require specs in many places
...
svn: r8774
2008-02-23 09:42:03 +00:00
Eli Barzilay
73c5e1e06c
fixed use-at-readtable again
...
svn: r8631
2008-02-12 11:05:20 +00:00
Eli Barzilay
99eb875e90
typo in use-at-readtable
...
svn: r8630
2008-02-12 10:48:49 +00:00
Matthew Flatt
4c1856f189
scribble reader interface and doc adjustments
...
svn: r8257
2008-01-08 16:09:25 +00:00
Matthew Flatt
39cedb62ed
v3.99.0.2
...
svn: r7706
2007-11-13 12:40:00 +00:00
Eli Barzilay
6794159764
more readtable customization
...
svn: r6924
2007-07-16 16:55:12 +00:00
Eli Barzilay
7ea3fada9a
better error message if allowing any keyword and getting non-keyword
...
svn: r6922
2007-07-16 03:59:13 +00:00
Eli Barzilay
75c571ba6d
added datum-reader customizing, documented interface
...
svn: r6908
2007-07-13 19:03:22 +00:00
Eli Barzilay
fca1c6112c
cache readtable makers
...
svn: r6907
2007-07-13 18:00:40 +00:00
Eli Barzilay
108b23e491
Added syntax properties to mark @-form datum and body number of subexprs
...
svn: r6902
2007-07-13 04:45:14 +00:00
Eli Barzilay
a7b1a7119b
attr -> datum (following the docs)
...
svn: r6900
2007-07-12 22:17:20 +00:00
Eli Barzilay
9a21c13be1
create a readtable on top of current-readtable
...
svn: r6889
2007-07-11 07:06:57 +00:00
Eli Barzilay
ec77e6eaf4
better read-errors
...
svn: r6871
2007-07-09 07:22:06 +00:00
Eli Barzilay
f219e85272
internal errors
...
svn: r6870
2007-07-09 06:49:34 +00:00
Eli Barzilay
f7d9aabe72
another attempt at errors: remove location printout silliness (raise-read(-eof)-error should do it)
...
svn: r6868
2007-07-09 06:26:35 +00:00
Eli Barzilay
6a01207e1c
do not show source-name in errors, since raise-read-error does that anyway
...
svn: r6867
2007-07-09 05:52:47 +00:00
Eli Barzilay
c36c24f9b4
no source information on eof errors
...
svn: r6866
2007-07-09 05:50:30 +00:00
Eli Barzilay
11feb6010e
much revised code, matching doc.txt and tests
...
svn: r6830
2007-07-07 06:27:23 +00:00
Eli Barzilay
a01c1e92ed
better code
...
svn: r6822
2007-07-05 03:41:04 +00:00
Eli Barzilay
ad49b82c3b
use the same special |...{ quoting rules for |...@ subforms
...
svn: r6821
2007-07-05 01:07:54 +00:00
Eli Barzilay
37b7284a4f
remove sanity checks that should always be fine
...
svn: r6818
2007-07-04 04:43:14 +00:00
Eli Barzilay
9824ec94c2
undo debugging
...
svn: r6817
2007-07-04 03:17:52 +00:00
Eli Barzilay
e8f7b15c80
@|| always separates strings, strings around comments are still merged
...
svn: r6816
2007-07-04 03:13:07 +00:00
Eli Barzilay
c2be2dd1fa
typo
...
svn: r6811
2007-07-03 17:53:48 +00:00
Eli Barzilay
760e120e6b
better errors
...
svn: r6810
2007-07-03 17:26:28 +00:00
Matthew Flatt
cec0624357
doc work, epseciall I/O and OS reference
...
svn: r6808
2007-07-03 12:41:11 +00:00
Matthew Flatt
4bf593ddc4
more i/o reference work
...
svn: r6807
2007-07-03 08:07:56 +00:00
Matthew Flatt
86022fd24b
missing inp in read-bytes
...
svn: r6805
2007-07-03 05:37:41 +00:00
Eli Barzilay
f7c4631223
can use @|...| for multiple expressions if inside an @-form
...
svn: r6804
2007-07-03 05:02:34 +00:00
Eli Barzilay
fe4857ee3c
a line-item can also be terminated by an EOF
...
svn: r6802
2007-07-03 03:32:07 +00:00
Eli Barzilay
a2ee15f28d
added syntax properties
...
svn: r6783
2007-07-01 05:44:17 +00:00
Eli Barzilay
840b68963b
make @ be non-terminating in Scheme code, only in Scribble context (like |)
...
svn: r6780
2007-06-30 06:38:51 +00:00
Eli Barzilay
6ce5440fa7
no backslash quoting -- as discussed on plt-internal
...
svn: r6777
2007-06-30 01:47:32 +00:00
Eli Barzilay
13371cd418
fix stupid typo, read-syntax can return eof
...
svn: r6772
2007-06-29 18:26:25 +00:00