Commit Graph

11597 Commits (50602dc1a43cf6b2baa9cbce3ff2d3f3ed99088f)

Author SHA1 Message Date
Doug Coleman d4612f2140 Merge branch 'master' of git://factorcode.org/git/factor into modern-harvey 2017-09-06 21:52:37 -05:00
John Benediktsson 5a0bc9621d git: use with-test-directory. 2017-09-04 19:45:25 -07:00
Doug Coleman 060a98a01a modern: Fix unit tests 2017-09-04 14:26:17 -05:00
Doug Coleman 646b627854 factor: remove trailing whitespace 2017-09-04 14:10:34 -05:00
Doug Coleman 3e77867cd2 modern: no postprocessing for concatenated tokens, instead...
take tokens until there is whitespace between them, then start a new
group of tokens
2017-09-04 14:07:52 -05:00
Doug Coleman 0e1eb52c4c modern: the looping is tricky...this version is correct 2017-09-04 11:47:57 -05:00
Doug Coleman d8d7c0cd3c modern: Allow comound literals 2017-09-04 11:33:47 -05:00
Doug Coleman d3497b9f6b modern: working on compound tokens 2017-09-04 11:04:55 -05:00
Doug Coleman 2773cbf889 modern.out: Add a <renamed> word to keep spacing correct when
refactoring.

"math" [ dup { [ slice? ] [ seq>> string? ] } 1&& [ dup >upper <renamed> ] when ] rewrite-vocab
2017-09-03 13:28:39 -05:00
Doug Coleman 9a983d611f modern: refactorig 2017-09-03 12:59:44 -05:00
Doug Coleman 2e89f86d16 modern.compiler: fix map-literals 2017-09-03 12:32:30 -05:00
Doug Coleman 26f74e9d83 modern: working on the compiler 2017-09-03 12:13:06 -05:00
Doug Coleman 1626d19711 git: update syntax 2017-08-31 22:52:00 -05:00
Doug Coleman 199e710597 modern.out: maybe simplify 2017-08-31 21:21:15 -05:00
Doug Coleman 14139f8fad modern.out: Remove symbol. 2017-08-31 21:21:15 -05:00
Doug Coleman 1316cdee79 modern.out: Cleanup. No variable needed. 2017-08-31 21:21:15 -05:00
Doug Coleman 4b61c0b776 modern: Found some more trailing whitespace. 2017-08-31 21:21:15 -05:00
Doug Coleman 3fec06f36e modern.out: Trying to trim trailing whitespace. 2017-08-31 21:21:15 -05:00
Doug Coleman fb6defd60f modern: More whitespace cleanup and rewrite all files except functors! 2017-08-31 21:21:15 -05:00
Doug Coleman e4f64e80bf modern: Remove functor paths for now. 2017-08-31 21:21:15 -05:00
Doug Coleman 1a4d1ce24e modern: exclude basis test path. 2017-08-31 21:21:15 -05:00
Doug Coleman e6ea0392e3 successor: Remove some whitespace. 2017-08-31 21:21:15 -05:00
Doug Coleman 2e68e170fc modern: Rewriting core paths works! 2017-08-31 21:21:15 -05:00
Doug Coleman b826b9bacc modern.out: add rewriting to disk 2017-08-31 21:21:15 -05:00
Doug Coleman 1771fbb909 graphviz: Update this nightmare :p 2017-08-31 21:21:15 -05:00
Doug Coleman 6ef39d8b6e factor: Removing /* */ and fixing up using lists. 2017-08-31 21:21:14 -05:00
Doug Coleman b0858e48b8 core: \foo is literally just foo. To escape it, do ``\ foo`` instead.
Fix smalltalk too.
2017-08-31 21:21:14 -05:00
Doug Coleman fbaa172732 smalltalk: Allow SELECTOR: \foo: and ``M: foo \bar`` 2017-08-31 21:21:14 -05:00
Doug Coleman 5fb483099f cocoa: Prefer ``send: foo`` or ``send: \foo:`` instead of ``send\ foo:`` 2017-08-31 21:21:14 -05:00
Doug Coleman 8d2d8f99e9 modern.out: Write core/ to disk in two ways. 2017-08-31 21:21:14 -05:00
Doug Coleman 4ede4769e2 modern: Fix strings. They were out of order. 2017-08-31 21:21:14 -05:00
Doug Coleman 5bb1c2b520 modern: Fix : ; and add unit tests. 2017-08-31 21:21:14 -05:00
Doug Coleman 55eb8f3c21 modern: make lex-all actually lex everything 2017-08-31 21:21:14 -05:00
Doug Coleman baa6af4831 factor: All RENAME: and FROM: and EXCLUDE: to have \foo as word names.
Grab bag of other cleanups. tests and docs parse!
2017-08-31 21:21:14 -05:00
Doug Coleman 55df44923f infix: literally just a string dsl. 2017-08-31 21:21:14 -05:00
Doug Coleman 3aa096e2e5 docs: Update docs. 2017-08-31 21:21:14 -05:00
Doug Coleman 4cba08aa8c xml: update syntax. XML-DOC[[ ]] and XML-CHUNK[[ ]] 2017-08-31 21:21:14 -05:00
Doug Coleman 2551028f98 factor: Fixing postpone: etc in docs 2017-08-31 21:21:14 -05:00
Doug Coleman 5a5776068c project-euler.011: Better name for matrix diagonals. 2017-08-31 21:21:14 -05:00
Doug Coleman 22e59d7838 docs: Escaping a lot. 2017-08-31 21:21:14 -05:00
Doug Coleman 15a7484b6f factor: STRING: foo ; to CONSTANT: foo [[ ]] 2017-08-31 21:21:14 -05:00
Doug Coleman 2114b7efc5 factor: ALIEN: to alien: 2017-08-31 21:21:13 -05:00
Doug Coleman 5507c2b676 factor: [let to let[, [| to |[ 2017-08-31 21:21:13 -05:00
Doug Coleman 28ffd303cb factor: random syntax update 2017-08-31 21:21:13 -05:00
Doug Coleman 9fc62092a4 factor: SEL: to selector\ postpone: \foo 2017-08-31 21:21:13 -05:00
Doug Coleman 3861e85d09 regexp: Allow more syntax. Update yaml. 2017-08-31 21:21:13 -05:00
Doug Coleman 54ef674a99 cocoa: -> to send\ ?-> to ?send\ SUPER-> to super\ 2017-08-31 21:21:13 -05:00
Doug Coleman f561911211 modern: Allow foo\ words 2017-08-31 21:21:13 -05:00
Doug Coleman 147ae66ab5 factor: SYNTAX: \foo 2017-08-31 21:21:13 -05:00
Doug Coleman 39a9b21e98 modern: handle \[[ \[=[ 2017-08-31 21:21:13 -05:00