Alexander Iljin
2ffa446f5b
*-docs: replace double spaces with single spaces
...
Code examples and other places where multiple spaces were used to align
text were left intact.
2017-06-05 13:16:07 -07:00
Doug Coleman
c5b563ed09
factor: Rename start -> subseq-start, start* -> subseq-start-from.
...
I also removed aliases for start/end from interval-maps and interval-sets and added a comment. I don't think it's any less clear what's going on.
2017-06-01 14:45:54 -05:00
John Benediktsson
baaa06278c
Revert "sequences: swap stack arguments for start/start*/subseq?."
...
This reverts commit 63b0593824
.
2017-01-21 07:20:14 -08:00
John Benediktsson
9dbd70ddd3
Revert "html.templates.fhtml: fix start refactor typo."
...
This reverts commit d2c4079358
.
2017-01-21 07:20:08 -08:00
John Benediktsson
d2c4079358
html.templates.fhtml: fix start refactor typo.
2017-01-20 23:09:33 -08:00
John Benediktsson
63b0593824
sequences: swap stack arguments for start/start*/subseq?.
...
It is more natural to be ( seq subseq -- ? ).
2017-01-20 22:49:53 -08:00
John Benediktsson
9836dd7734
html.templates.fhtml: fix example test.
2017-01-05 12:10:16 -08:00
Jon Harper
5af166b8f5
add DOCTYPE html in most places.
...
4ef4235
started it. This is also good for html emails like in
extra/webapps/mason/backend/watchdog/watchdog.factor .
I just grepped for "<html>".
2017-01-05 09:03:46 -08:00
Björn Lindqvist
20711a0fd3
Adding escaping to CHAR: " -> CHAR: \"
...
It is not necessary to escape the " character, but it doesn't hurt and
is necessary for syntax-highlighting (FUEL) to work correctly.
2016-09-04 06:40:43 +02:00
John Benediktsson
498285d7dd
unicode: make this the API for all unicode things.
2016-03-30 23:29:48 -07:00
John Benediktsson
71ef8a22c2
disambiguate namespaces:set and sets:set.
2016-03-29 17:14:42 -07:00
John Benediktsson
49ae6575d8
html.templates.fhtml: fix tests for string-lines.
2016-03-13 20:01:33 -07:00
Benjamin Pollack
4ef42357e1
chloe/html: switch to HTML5 templates
...
Since XHTML is dead, and HTML5 isn't, switch to HTML5 templates for Chloe and
other key parts of our HTML subsystems. As part of this, I went through and
added DOCTYPE declarations to some of our examples as well.
2016-03-11 18:20:55 -05:00
Benjamin Pollack
512014a436
chloe: make self-closing tags support more idiomatic Factor
2016-03-11 13:13:43 -05:00
Benjamin Pollack
ed1ccc4448
chloe: ensure self-closing tags are self-closing
...
This gets us much closer to HTML5 compatibility, while not breaking the
existing XHTML functionality. (Indeed, the entire reason this is necessary is
that XHTML, being an XML derivative, treats `<foo></foo>` and `<foo />`
equivalently, whereas HTML5 does not.)
2016-03-11 11:01:22 -05:00
John Benediktsson
17b536c3a8
html.templates: use unless* instead of or.
2015-11-20 09:15:19 -08:00
John Benediktsson
ceb75057da
change ERROR: words from throw-foo back to foo.
2015-08-13 16:13:05 -07:00
Doug Coleman
b6be8685c3
basis: ERROR: changes.
2015-08-13 03:20:39 -07:00
Doug Coleman
1fcf96cada
factor: remove """ string syntax for now. there are HEREDOC:, STRING:, escaping \", and something else soon.
2015-07-25 22:59:56 -07:00
Doug Coleman
892c62e1dc
factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test
2015-07-03 09:39:59 -07:00
Doug Coleman
59f3b1ea57
Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
...
Needs a bit more work.
This reverts commit 7e54cc2824
.
2015-07-02 13:47:06 -07:00
Doug Coleman
7e54cc2824
factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!
2015-07-02 11:36:08 -07:00
Doug Coleman
e3cb325040
factor: clean up whitespace in -docs files
2015-07-02 10:31:22 -07:00
Doug Coleman
a4c5a748ad
core/basis: Rename words dealing with vocabs to loaded-vocabs or disk-vocabs because it's too confusing otherwise.
2015-06-08 12:47:35 -07:00
John Benediktsson
296968580a
use assoc-reject instead of [ ... not ] assoc-filter.
2015-05-12 19:08:42 -07:00
John Benediktsson
b366a06c41
use reject instead of [ ... not ] filter.
2015-05-12 18:50:34 -07:00
John Benediktsson
8afe2dfe37
lexer: change skip back to public interface.
2014-05-20 09:42:41 -07:00
John Benediktsson
49b040c0b0
html.templates.fhtml: fix using.
2014-05-20 09:31:26 -07:00
John Benediktsson
98935b7f15
docs: change ``{ $quotation "( x -- y )" }`` to ``{ $quotation ( x -- y ) }``.
2014-05-18 20:09:10 -07:00
Doug Coleman
188d7e98df
html.templates.chloe: Rename cached-template
2013-03-23 23:16:54 -07:00
Doug Coleman
c731dc6edb
Rename lookup to lookup-word.
2011-11-06 16:00:00 -08:00
Doug Coleman
76580da5d5
Refactor the lexer/parser to expose friendlier words for scanning tokens. The preferred top-level words now throw an exception on EOF.
...
CREATE -> scan-new
CREATE-CLASS -> scan-new-class
CREATE-WORD -> scan-new-word
CREATE-GENERIC -> scan-new-generic
scan -> (scan-token)
scan-token now throws on eof
(scan-word) returns word/number/f
scan-word now throws on eof
scan-word-name expects a non-number
Fixes #183 .
Fixes #209 .
2011-09-29 11:28:28 -07:00
Doug Coleman
5fce2d0f27
Make "quiet" true by default. Disable quiet mode for listener, bootstrap, and deploy tool.
...
Move "quiet" to parser-quiet? in parser.notes. Change a few places where quiet was handle wrong.
2011-09-06 17:58:12 -07:00
Keita Haga
79d0b1e34d
html.templates: fix typo in description of template-convert word
2011-01-17 01:51:48 +09:00
Slava Pestov
5caae55e8d
html.templates.chloe: minor doc improvements
2010-10-09 15:29:04 -07:00
Slava Pestov
3e43dafb76
html.templates.fhtml: code cleanup
2010-09-28 21:34:16 -07:00
Brennan Cheung
4c34420690
doc fix, chloe link forms - t:button
2010-09-23 13:51:15 -07:00
Slava Pestov
ad939e01f1
furnace.chloe-tags: fix t:a, t:atom, t:form tags after recent Chloe change
2010-08-22 21:55:34 -07:00
Slava Pestov
8227fff723
html.templates.chloe.test: forgot to check in test14.xml and test15.xml
2010-08-20 19:28:38 -07:00
Slava Pestov
c464206605
html.templates.chloe: add notion of "string context" where tags are not allowed and <>& are not escaped; fixes <t:title> double escaping bug reported by John Benediktsson
2010-08-20 19:15:58 -07:00
Slava Pestov
99a3b3c9f6
furnace: documentation improvements
2010-04-12 18:17:21 -07:00
Doug Coleman
7ce4b746e5
parsed -> suffix!, add append!
2009-10-28 13:38:27 -05:00
Keith Lazuka
405e5d015b
docs: change $subsection to $subsections
2009-10-02 12:15:48 -04:00
Doug Coleman
eceed177d6
replace usages of <" with """
2009-09-20 22:42:40 -05:00
Slava Pestov
d79b6d590e
html.templates.chloe: minor doc fix
2009-09-16 16:11:05 -07:00
Doug Coleman
3f3d57032b
Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring
2009-08-13 19:21:44 -05:00
Doug Coleman
5fd50a4592
make sure you can define words in fhtml templates
2009-05-19 18:53:12 -05:00
Slava Pestov
9d9523080e
html.templates.fhtml: fix load error
2009-05-16 13:34:47 -05:00
Slava Pestov
66a9416473
Update documentation for stricter vocabulary search path semantics
2009-05-16 00:29:21 -05:00
Slava Pestov
b62630b5ac
Updating code in basis and extra for stricter vocab search path semantics
2009-05-14 23:23:06 -05:00