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
Slava Pestov
723bfab030
Fixing unit tests for syntax change
2009-03-23 00:34:02 -05:00
Slava Pestov
30816ba5d0
Get more code to load after SYNTAX: change
2009-03-21 03:22:21 -05:00
Slava Pestov
ea60f8ae93
Changing : foo ; parsing to SYNTAX: foo ;
2009-03-21 01:27:50 -05:00
Slava Pestov
be4fb1e7d9
Move call( and execute( to core
2009-03-16 20:11:36 -05:00
Slava Pestov
8e55533bfa
Tweak some furnace code to infer and load with almost no warnings
2009-03-15 18:19:29 -05:00
Slava Pestov
ce1bc1d6ed
Fixing conflicts from stack checker changes
2009-02-24 01:21:10 -06:00
Slava Pestov
421ee726b8
Merge branch 'master' into new_ui
2009-02-16 21:22:12 -06:00
Slava Pestov
6b25e99470
Add summary for heaps more vocabs
2009-02-16 21:05:13 -06:00
Slava Pestov
4a639033fa
Merge branch 'master' into new_ui
2009-02-15 21:06:55 -06:00
Slava Pestov
ebd0e9250f
Clean up some <file-reader> usages to use file-lines, file>csv, and file>xml instead
2009-02-15 20:45:06 -06:00