Commit Graph

48 Commits

Author SHA1 Message Date
Matthew Flatt
09b4a55d87 Revert "Fix a scribble test for plural "Examples""
The test was correct, and e4729afdbf fixes the bug.

This reverts commit 4eaab11d14.
2011-08-17 20:43:12 -06:00
Eli Barzilay
4eaab11d14 Fix a scribble test for plural "Examples" 2011-08-17 10:00:55 -04:00
Matthew Flatt
fba1777b8a fix contract 2011-08-02 06:48:54 -06:00
Matthew Flatt
e3b8997fb8 fix test
which is sensitive to details of the documentation of `->'
2011-07-04 16:35:38 -06:00
Eli Barzilay
226f86d201 Try to improve the tests wrt timeouts and memory limits 2011-07-02 01:10:38 -04:00
Eli Barzilay
0af236dc2f Add block' to scribble/text', to explicitly ask for an indentation block.
* Lists are now either blocks or splices depending on whether they
  appear inside a block or a splice (default to block).

* Adjusted the docs and a single test where this mattered.

* Change the documentation to be "text.html" and to be titled "text
  generation".
2011-06-28 18:16:07 -04:00
Danny Yoo
d78fccb75b Fixing the comment-at-end-of-file bug (PR#11982) 2011-06-16 21:37:48 -04:00
Robby Findler
c8d476c76e adjust scribble's racketblock renderer so that #true and #false
don't turn into #t and #f.
2011-04-30 20:35:16 -05:00
Matthew Flatt
00ca86ffc6 `xref-binding->definition-tag': fix two-argument-list mode
Closes PR 11847
2011-04-12 15:55:22 -04:00
Matthew Flatt
df2a875ff4 Scribble: simplify content that is conditioned on the render mode
including a new `scriblib/render-cond' library
2011-04-04 10:45:02 -06:00
Matthew Flatt
d00c8a6c71 Scribble: fixes for text output, especially inset nested flows 2011-03-30 19:53:32 -06:00
Matthew Flatt
60c4acb094 Scribble: clean up text-mode output
- line-flow paragraphs to fit in 72 columns
 - better indentation for itemizations
 - format tables with paragraphs and nested tables
2011-03-20 17:19:03 -06:00
Matthew Flatt
b2e338cc43 add missing autobib test 2011-03-20 15:38:51 -06:00
Matthew Flatt
343b6fb008 Scribble: fix caching of hyperlinked identifiers 2011-03-15 11:09:10 -06:00
Eli Barzilay
09698c800c Improve the error message from scribble text rendering tests. 2011-03-15 11:45:40 -04:00
Matthew Flatt
449a634b2f add missing test for commit ae8705611b 2011-03-11 13:19:52 -06:00
Eli Barzilay
0801525931 Merge in the docs test into the rest of the scribble tests.
Also fixed it to scan all scrbl files in the docs directory, use
runtime-path, and change the rest to racket to get the quoted printout
right.
2011-02-16 15:26:15 -05:00
Matthew Flatt
1a5f41fd71 Scribble: fix multi-line print output
Closes PR 11735
2011-02-14 07:32:21 -07:00
Eli Barzilay
6295824851 Some additional tests, and use () instead of {} for racket sexprs 2010-10-11 15:07:28 -04:00
Eli Barzilay
606b7f60dc Lots of "~e" to "~.s" changes. 2010-08-25 17:17:01 -04:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
Matthew Flatt
2fb34bcfdc fix Scribble reader test regexp-split pattern 2010-04-15 19:15:53 -04:00
Eli Barzilay
55d4ac93b3 another case of this
svn: r17602
2010-01-11 06:38:19 +00:00
Eli Barzilay
384cadd579 express expected result of []s using []s, so these tests make sense for readers that use []s in a different way too
svn: r17601
2010-01-11 06:31:01 +00:00
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
82f0d336d4 Added syntax property checking (only locations for now, but will be extended).
svn: r15791
2009-08-21 13:04:19 +00:00
Eli Barzilay
d863e07492 minor reorganization
svn: r15790
2009-08-21 11:40:29 +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
1ce41ec179 * Improved tester definitions
* Testing read errors too now

svn: r15632
2009-07-30 03:17:50 +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
3c746c1fd3 move require into evaluation
svn: r15124
2009-06-09 10:41:22 +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
f08fb96f88 a little better
svn: r15118
2009-06-08 14:48:15 +00:00
Eli Barzilay
6977ddde54 Fix broken test, add many more
svn: r15117
2009-06-08 14:34:52 +00:00
Eli Barzilay
d521d21ad5 minor shuffling
svn: r15113
2009-06-07 21:43:36 +00:00
Eli Barzilay
dd68b710ae * Reorganize the scribble tests to separate files
* Finally moved the scribble reader tests with the rest so it can run
  with the nightly build.

svn: r15112
2009-06-07 21:42:38 +00:00
Eli Barzilay
896018f96b remove support files when a test is done
svn: r14245
2009-03-23 23:04:30 +00:00
Eli Barzilay
1048d204ca more time, for slower machines
svn: r14207
2009-03-22 01:30:13 +00:00
Eli Barzilay
1db2b65978 Finished the docs+tests, added some minor utilities.
svn: r14199
2009-03-21 15:06:48 +00:00
Eli Barzilay
6d31100a89 Start a proper preprocessor documentation, with tests included.
(proper "literate testing".)

svn: r14112
2009-03-15 22:05:52 +00:00
Eli Barzilay
3537435564 dont show spaces at the end of a line when not needed
svn: r14077
2009-03-12 18:25:08 +00:00
Eli Barzilay
940a47a439 fix include references
svn: r14075
2009-03-12 17:22:45 +00:00
Eli Barzilay
e366d25a85 better example for splice
svn: r14068
2009-03-12 08:15:39 +00:00
Eli Barzilay
ca30b05114 A complete rewrite of text output using port state now.
Also a few more text-controlling primitives.

svn: r14065
2009-03-12 02:27:12 +00:00
Eli Barzilay
3658ea87e5 The scribble/text language works much better now, with
indentation-aware output being possible.

svn: r14025
2009-03-10 09:36:54 +00:00
Eli Barzilay
064eb9a147 Rename input files so they get compiled too.
(And also see that the resulting .dep files are good re `include')

svn: r11789
2008-09-17 14:26:40 +00:00
Eli Barzilay
ffde7e7b42 preprocessor tests
svn: r11787
2008-09-17 14:19:55 +00:00
Eli Barzilay
26b9bd6c3d * Added text utilities
* begin/collect, and a begin/text that is based on it (ignoring
  inter-defns spaces)
* include/text, available as `include' in the scribble/text langauge
* tests, only for begin/collect for now

svn: r11772
2008-09-16 00:46:35 +00:00