Commit Graph

57 Commits (master)

Author SHA1 Message Date
John Benediktsson 115b7b62df basis: removing unnecessary method stack effects. 2020-09-09 15:00:54 -07:00
Cat Stevens 426d8f09b2 fix various typos; cleanup and fully document boyer-moore 2020-03-15 14:58:43 +00:00
John Benediktsson 06b72b8a0d peg: less stack shuffling in define-parser-word. 2019-09-27 08:24:53 -07:00
John Benediktsson f2e4a36c2c peg: reuse code in compile-parsers-quots. 2019-09-26 08:56:42 -07:00
John Benediktsson c3bee31342 peg: some cleanup. 2019-09-25 20:26:12 -07:00
Doug Coleman 9f213f96f6 core: Add the shuffler words but without primitives.
The nipd branch slowed bootstrap by a minute, this patch does not.

sorry about changing the fjsc line endings...
2018-06-19 22:52:58 -05:00
John Benediktsson 498285d7dd unicode: make this the API for all unicode things. 2016-03-30 23:29:48 -07:00
John Benediktsson 4138ac0654 peg: simplify parse-satisfy. 2016-03-30 10:30:36 -07:00
Doug Coleman 26689c3d75 peg: Throw an error if nothing at all matches at position 0. 2016-03-30 10:16:15 -07:00
Doug Coleman e49d721374 peg: Don't need to add empty errors here. It breaks the real error message. 2016-03-30 10:16:15 -07:00
John Benediktsson 71ef8a22c2 disambiguate namespaces:set and sets:set. 2016-03-29 17:14:42 -07:00
John Benediktsson 59caf874a3 syntax: removing #! as a comment character.
We don't need two types of comments and shebang (#!) is handled
natively by the lexer, so the original reason for #! is not valid.
2015-09-09 18:28:08 -07:00
John Benediktsson e477f6996f Fix comments to be ! not #!. 2015-09-08 16:15:10 -07:00
John Benediktsson 2435307fb3 peg: some cleanup. 2015-09-02 13:14:01 -07: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 e0d1b14e5c factor: don't need FROM: namespaces => set or namespaces:set anymore 2015-08-12 11:25:57 -05:00
John Benediktsson e576fb5fec peg: some cleanup. 2014-12-12 14:19:39 -08:00
Björn Lindqvist 3ed3e10074 peg: add 'got' slot to parse-error, so you get a little more info about why the parsing fails 2014-10-23 11:31:27 -07:00
John Benediktsson c75fc48f23 switch some vocabs to 4 spaces. 2013-07-24 14:52:09 -07:00
John Benediktsson 4e72d80256 Using "same?" in more places. 2012-07-21 10:22:44 -07:00
John Benediktsson 16b046af76 more cleanup of with-scope. 2012-07-19 15:11:33 -07:00
Doug Coleman f9257959fd Rename class to class-of 2011-10-24 06:47:42 -05: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
John Benediktsson d61de12011 Cleanup more lint warnings. 2011-10-14 12:31:46 -07:00
Slava Pestov 627295f094 Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO) 2010-05-06 17:21:02 -04:00
Daniel Ehrenberg aa6158b366 Changing require-when usages to the new syntax for require-when 2010-04-18 14:29:24 -05:00
Daniel Ehrenberg eb060443db Updating code to use require-when rather than vocab [ require ] when 2010-03-18 01:13:37 -04:00
Daniel Ehrenberg 7074979745 Moving new-sets to sets 2010-02-26 16:01:01 -05:00
Slava Pestov f0aa694c7e effects.parser: throw a proper no-word error if effect references an unknown class word 2010-02-23 23:57:13 +13:00
Joe Groff 3fbe722561 Merge branch 'master' of http://factorcode.org/git/factor
Conflicts:
	basis/locals/locals.factor
	basis/peg/peg.factor
	extra/infix/infix.factor
2009-10-28 16:17:24 -05:00
Joe Groff 6e1bffb1c5 update existing code to use :> ( ) when possible 2009-10-28 16:11:33 -05:00
Doug Coleman 93de179c2f over push -> suffix!, over push-all -> append! 2009-10-28 15:29:01 -05:00
Joe Groff 2ecf3fb568 fix load errors from bootstrapping 2009-10-28 12:51:03 -05:00
Joe Groff f1d9201cb2 update peg for [let change 2009-10-27 22:29:20 -05:00
Chris Double 77216b9d68 Fix cpu.8080 bitrot 2009-10-15 17:33:44 +13: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 a0eb60906d Fix even more usings 2009-05-16 10:45:17 -05:00
Slava Pestov fb6df472a2 Cleaning up USING: lists for new strict semantics 2009-05-14 16:54:16 -05:00
Chris Double 087a7acfba Fix peg left recursion handling 2009-03-31 23:59:52 -05:00
Slava Pestov f8d7fec17f Faster PEG compile times; inline less, use execute( instead 2009-03-23 19:23:18 -05:00
Slava Pestov c0154c1391 Change (:) to parse effect immediately, and remove ( parsing word 2009-03-21 03:17:35 -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 7ed56a3cef Make peg compilation infer 2009-03-14 00:34:04 -05:00
Doug Coleman 3c408342ef renaming: contain? -> any?, deep-contains? -> deep-any?, pad-left -> pad-head, pad-right -> pad-tail, trim-left -> trim-head, trim-right -> trim-tail 2009-01-29 22:19:07 -06:00
Slava Pestov 058ba127cb Cleaning up more -rot usages 2008-12-22 05:41:01 -06:00
Slava Pestov 5bfa17d962 Split off error. methods into sub-vocabs in a few places 2008-12-08 20:04:13 -06:00
Slava Pestov 3673a3e7c7 Use stack effect literals instead of <effect> in PEG, and don't use smart combinators 2008-12-05 23:53:16 -06:00
Slava Pestov e5ed7447ed Removing more >r/r> usages 2008-12-03 08:46:16 -06:00