Commit Graph

57 Commits (master)

Author SHA1 Message Date
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
Doug Coleman 653af68a8e Revert "use tilde paths instead of home append-path."
This reverts commit 8af27125ec.
2018-03-15 08:45:12 -05:00
John Benediktsson 8af27125ec use tilde paths instead of home append-path. 2018-02-26 17:17:15 -08:00
Doug Coleman 08db99a471 cpu.arm.assembler: Use arrays for unit-tests 2017-12-23 16:08:19 -08:00
John Benediktsson 88eff49c13 docs: cleanup some article titles that can be strings. 2017-10-25 11:11:44 -07:00
Doug Coleman fad9e9d002 peg.ebnf: Add EBNF-PARSER: to define a word that returns an EBNF parser
This is in contrast to defining a word that parser.
2017-08-06 00:17:25 -05:00
Doug Coleman 15b13870ae peg.ebnf: Clean up EBNF: syntax.
The syntax for an EBNF parser is now ``EBNF: identifier string``. The
inline syntax went from [EBNF ...  EBNF] to EBNF[[ ]], EBNF[=[ ]=], etc.

<EBNF looked for a main word, but this functionality is just EBNF[[ ]]
now.
2017-08-05 22:23:57 -05:00
Doug Coleman 7c7bb93c55 factor: Rename GENERIC# to GENERIC#:.
Fixes #1670.
2017-06-01 13:58:58 -05:00
John Benediktsson e477f6996f Fix comments to be ! not #!. 2015-09-08 16:15:10 -07:00
John Benediktsson ceb75057da change ERROR: words from throw-foo back to foo. 2015-08-13 16:13:05 -07:00
Doug Coleman 66147f27b4 extra: use throw-foo for ERROR: change 2015-08-13 01:56:32 -07:00
Doug Coleman 7825f46af2 cpu.8080: opcode -> opcode:, cycles -> cycles: 2015-08-12 19:57:55 -05:00
Doug Coleman e3cb325040 factor: clean up whitespace in -docs files 2015-07-02 10:31:22 -07:00
Doug Coleman 352e5de16a core, basis, extra: Remove DOS line endings from files.
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00
Doug Coleman 6e60c811ac core: Rename create to create-word, create-in to create-word-in. 2015-06-08 12:47:35 -07:00
John Benediktsson b50286f137 cpu.8080: some cleanup. 2014-12-12 10:59:20 -08:00
John Benediktsson b76503a718 use ">>foo" instead of "over foo<<". 2014-12-11 20:55:04 -08:00
Benjamin Pollack 2c3dd8c3c8 Remove executable bit from tons of files that aren't 2014-11-05 20:40:42 -08:00
Doug Coleman 36b11c2ed1 cpu.8080: Throw an error not a string. 2013-03-29 09:51:26 -07:00
Doug Coleman 1b08569564 cpu.arm.assembler: The ARM assembler is a crazy hack. 2013-03-24 10:11:17 -07:00
John Benediktsson e74f770b57 Use bl in more places. 2013-03-14 19:24:00 -07:00
Joe Groff 943596575a use radix literals 2011-11-23 19:03:40 -08:00
John Benediktsson 375d9813fb cpu.8080: fix stack effects. 2011-10-18 19:15:09 -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
John Benediktsson 312704ae68 math.parser: cleanup uses of 16/8/2 >base/base>. 2011-10-14 10:09:12 -07:00
John Benediktsson 928536be2a cpu.8080.emulator: use get/set-global. 2011-10-13 17:11:23 -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
Erik Charlebois 64252dbdbc 32 and 64 bit Linux PPC support 2011-05-23 23:36:14 -04:00
Slava Pestov d2dd184d58 Officially drop PowerPC port 2010-08-15 20:10:11 -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
Slava Pestov 0612bc6177 Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Slava Pestov 304496e037 Build fixes 2009-10-19 19:18:08 -05:00
Chris Double d62714e403 Fix bitrot in space-invaders and cpu.8080 vocabs 2009-10-15 18:08:30 +13:00
Doug Coleman f746204a1c remove cpu 2008-09-01 18:26:51 -05:00
Chris Double 38ae977bef Cleanup some cpu-8080 code 2008-07-11 11:37:02 +12:00
Chris Double 20b517d7da Covert cpu.8080 to use pegs 2008-07-11 11:37:02 +12:00
Slava Pestov 58159095ee Fix load-everything 2008-06-30 16:06:14 -05:00
Slava Pestov b36e06d0d6 Builtinn types now use new slot accessors; tuple slot type declaration work in progress 2008-06-28 02:36:20 -05:00
Slava Pestov 6e0d35e615 Split up huge parser vocabulary 2008-06-25 03:25:08 -05:00
Slava Pestov ba8f1388ab Fixing everything for mandatory stack effects 2008-06-09 02:14:14 -05:00
Slava Pestov 75fb15ee4c Split stdio up into input-stream/output-stream, pipes work in progress 2008-05-05 02:19:25 -05:00
Doug Coleman 4d0ba8c3c1 reverse args for assoc-diff, diff
fix lots of usings
fix help lint
2008-04-26 02:01:43 -05:00
Doug Coleman 72080fda4a construct-boa -> boa
construct-empty -> new
2008-04-13 15:06:27 -05:00
Doug Coleman 3e7940216e swap append to swap append
refactoring path+ to append-path
swap path+ to prepend-path
calendar gmt-offset to duration
2008-03-19 19:15:32 -05:00
Daniel Ehrenberg 8437c0ec3c Merge branch 'slava/master' into unicode
Conflicts:

	core/io/files/files-tests.factor
	core/io/files/files.factor
	extra/benchmark/reverse-complement/reverse-complement.factor
	extra/cpu/8080/emulator/emulator.factor
	extra/io/unix/unix-tests.factor
	extra/logging/server/server.factor
	extra/raptor/raptor.factor
	extra/tar/tar.factor
	extra/tools/disassembler/disassembler.factor
2008-02-21 15:45:17 -06:00
Daniel Ehrenberg 62f9ed5dbd putting encodings on all file readers/writers 2008-02-16 22:17:41 -06:00
Slava Pestov 721c3f2ec9 Merge branch 'space_invaders_cleanup' 2008-02-16 18:39:42 -06:00
Slava Pestov 63d89878d8 Clean up space invaders (untested) 2008-02-16 02:21:45 -06:00
Daniel Ehrenberg f6845d43d3 Massive name change in files, string streams 2008-02-15 22:20:31 -06:00
Slava Pestov e66e6d70e4 Moved dispatch to sequences.private 2008-02-11 01:19:53 -06:00