Commit Graph

37 Commits (7e54cc28240d384ca71529dab464ea9cddbabf07)

Author SHA1 Message Date
Doug Coleman 7e54cc2824 factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool! 2015-07-02 11:36:08 -07:00
Doug Coleman 999aa7c897 factor: clean up spaces in -tests files 2015-07-02 10:34:01 -07:00
Benjamin Pollack 2c3dd8c3c8 Remove executable bit from tons of files that aren't 2014-11-05 20:40:42 -08:00
John Benediktsson 529ade12df multiline: lexer-eof? is just still-parsing?. 2014-05-19 21:38:54 -07:00
John Benediktsson 786793e145 multiline: pass the lexer around instead of using namespaces all the time. 2014-05-19 21:26:59 -07:00
John Benediktsson afdec2de61 multiline: fix lexer eof detection. 2014-05-19 21:10:31 -07:00
Doug Coleman 4aa8c93546 strings, multiline: Fix unexpected-eof. 2013-03-23 21:42:26 -07:00
John Benediktsson 03a8290da9 multline: fix docs for /*. 2012-09-22 16:45:26 -07:00
John Benediktsson 80e1c8e3f2 Eliminate duplicate syntax for stack effects "(" no longer drops and is identical to the old "((", which is now removed. 2011-10-18 13:19:39 -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 604dbf4df7 parse-here doesn't consume an extra line now, and it checks that once a line has started there are no extra characters 2011-09-03 12:17:30 -05:00
Keita Haga 61881f1977 combinators.smart, multiline: few $examples turn into $codes 2011-01-15 00:22:29 +09:00
Keita Haga 2dad72e4e7 multiline: fix typo in docs 2010-12-23 04:42:56 +09: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 a4524874f4 remove <" from multiline tests 2009-09-23 16:24:32 -05:00
Doug Coleman 097b7d338c remove usage of <" in multiline 2009-09-21 23:01:28 -05:00
Doug Coleman 77dd5f6677 remove <" and friends 2009-09-21 17:59:37 -05:00
Doug Coleman 06d9e1d46d clarify docs 2009-08-19 04:41:33 -05:00
Doug Coleman 761ed6356b fix HEREDOC:s, add DELIMITED: which is like a HEREDOC: where the terminator can appear anywhere 2009-08-18 03:44:54 -05:00
Doug Coleman 7234b4bb08 fix multiline docs 2009-08-17 20:47:27 -05:00
Mitchell N Charity 747f2ab21c multiline: add HEREDOC: , slightly refactoring privates 2009-08-17 17:05:14 -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
Slava Pestov ea60f8ae93 Changing : foo ; parsing to SYNTAX: foo ; 2009-03-21 01:27:50 -05:00
Daniel Ehrenberg 465ed2fca8 New delimiter choices for multiline 2009-01-21 18:17:06 -06:00
Daniel Ehrenberg ef569240d0 Fixing multiline error 2009-01-21 00:44:43 -06:00
Daniel Ehrenberg 5221193034 Multiline cleanup and bug fix 2009-01-20 16:12:09 -06:00
Slava Pestov daf2857d7b define-inline now takes an effect parameter
C: now sets the stack effect of the new word to slot names
add new basis/constants vocab; CONSTANT: foo bar is equivalent to : foo bar ; inline
(going to fold CONSTANT:, ALIAS: and qualified into core soon perhaps)
tighten the screws: inline words now need a stack declaration too
update some usages of inline words
2008-12-15 19:44:56 -06:00
Slava Pestov e5ed7447ed Removing more >r/r> usages 2008-12-03 08:46:16 -06:00
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Slava Pestov eae7e95d9b Fix <" 2008-09-24 19:04:44 -05:00
Slava Pestov cf80dd122a Updating code for make and fry changes 2008-09-10 22:11:40 -05:00
Doug Coleman 055d9dbed5 cleanup multiline 2008-09-06 22:48:41 -05:00
Doug Coleman b9932828f0 add article for multiline, more docs 2008-09-04 21:38:23 -05:00
Slava Pestov cbc5bc1412 Fix multiline 2008-08-31 02:28:58 -05:00
Doug Coleman 01fee5a1f4 new accessors 2008-08-30 21:58:20 -05:00
Slava Pestov d66f887736 Create basis vocab root 2008-07-28 22:03:13 -05:00