Commit Graph

138 Commits (cd0eb76806fd520289042f78bce200e208e89439)

Author SHA1 Message Date
John Benediktsson 1987deb359 Fix M: stack effects. 2011-10-13 16:41:17 -07: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
John Benediktsson 9edab21aeb html.streams: fix typo in stack effect for emit-html. 2010-09-10 13:22:42 -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
Slava Pestov cdcdb708d7 Update some more 'update' usages to call 'assoc-union!' 2010-02-04 03:44:24 +13:00
Doug Coleman 7ce4b746e5 parsed -> suffix!, add append! 2009-10-28 13:38:27 -05:00
Keith Lazuka 0c5f2be355 html.streams: fixed broken unit-test 2009-10-13 08:54:37 -04:00
Keith Lazuka 4743ffdc18 help.html: with-nesting-block now maps to an HTML DIV with display: inline-block CSS style
This change allowed me to remove the old hack that suppressed newlines
in the stream if they occurred immediately after a DIV.
2009-10-04 07:17:54 -04:00
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Slava Pestov 835cd68284 html.streams: change how images work; webapps.help: support definition icons 2009-09-23 20:56:47 -05:00
Slava Pestov 0836e79e66 Fix conflict 2009-09-23 20:52:04 -05:00
Keith Lazuka d552ce8ef6 html.streams: the 'image' character stream style now generates an <img> HTML element
NOTE: You must manually copy your image resources to your web server
      such that the images are available from the "/images" root URL.
	  For example, if your resource is "vocab:definitions/icons/normal-word.tiff"
	  then it should be copied such that it is available via the following URL:
	  "http://myserver.org/images/basis/definitions/icon/normal-word.tiff"
	  (the original path is first normalized and then the Factor root prefix
	   is stripped away).

NOTE: Factor's definition-icons are in TIFF format, which appears to be
	  supported out-of-the-box by very few web browsers (namely Safari).
	  Perhaps we should switch from TIFF to GIF or PNG? Are these vocabs
	  ready to be used?
2009-09-22 09:06:56 -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
Keith Lazuka a96e828d7c io.styles: renamed the 'border-width' style to 'inset'. inset takes a pair of 2 numbers (horizontal and vertical insets) 2009-09-09 15:50:25 -04: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 05f3f9dcb9 Fixing unit tests for stack effect inference changes 2009-04-20 21:15:19 -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 9d44b7620f Fixing the build 2009-03-18 17:01:26 -05:00
Slava Pestov be4fb1e7d9 Move call( and execute( to core 2009-03-16 20:11:36 -05:00
Daniel Ehrenberg 22cd50ca4f Fixing html.components unit test 2009-03-16 01:30:42 -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 03f048cce9 Add a couple of must-infer tests 2009-03-11 21:51:39 -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
Slava Pestov 6b99b04531 Add vocab: for vocab-relative paths 2009-02-15 19:53:21 -06:00
Slava Pestov e068400e54 Merge branch 'master' into new_ui 2009-02-12 02:22:09 -06:00
Daniel Ehrenberg 19eb0471bb Creating XML component 2009-02-12 01:31:54 -06:00
Doug Coleman 31d86e300c fix html help-lint 2009-02-11 13:56:54 -06:00
Slava Pestov ae52662a77 Merge branch 'master' into new_ui 2009-02-11 05:02:19 -06:00
Slava Pestov 76761c4c61 Document html:simple-page 2009-02-11 04:59:29 -06:00
Slava Pestov ab386d01aa Merge branch 'master' into new_ui 2009-02-10 16:23:14 -06:00
Slava Pestov 07caee3405 Update some existing code to use initialize 2009-02-10 16:16:12 -06:00