Doug Coleman
|
a450350854
|
modern.compiler: literals>tuples works.
|
2017-09-30 17:32:18 -05:00 |
Doug Coleman
|
57e668d704
|
modern.compiler: Convert slices to objects.
|
2017-09-30 14:14:38 -05:00 |
Doug Coleman
|
6fe38fde00
|
modern: Fix case for "<PRIVATE FOO: foo PRIVATE>"
At the end of a file the length of the string is f, so this needs to be
fixed up for calculations.
|
2017-09-30 14:14:38 -05:00 |
Doug Coleman
|
affbc492d7
|
modern.compiler: wip
|
2017-09-30 08:52:03 -05:00 |
Doug Coleman
|
8e4fe207f1
|
modern: Fix compound syntax unit tests.
|
2017-09-24 22:22:40 -05:00 |
Doug Coleman
|
e8a72b0268
|
modern: Disallow compound syntax for now.
|
2017-09-24 12:40:32 -05: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
|
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
|
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
|
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
|
3aa096e2e5
|
docs: Update docs.
|
2017-08-31 21:21:14 -05:00 |
Doug Coleman
|
5507c2b676
|
factor: [let to let[, [| to |[
|
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
|
f561911211
|
modern: Allow foo\ words
|
2017-08-31 21:21:13 -05:00 |
Doug Coleman
|
39a9b21e98
|
modern: handle \[[ \[=[
|
2017-08-31 21:21:13 -05:00 |
Doug Coleman
|
161a50c0b8
|
modern: Still support ``\ foo`` for now.
|
2017-08-31 21:21:13 -05:00 |
Doug Coleman
|
15fe8c3844
|
modern: Backslashes should be like \AVL{ instead of \ AVL{
The only thing that matters is a leading \
Backslashed patterns: \foo \foo\bar
Non-backslashed patterns: foo\bar foo\bar{
|
2017-08-31 21:21:13 -05:00 |
Doug Coleman
|
c436f6dbad
|
factor: char: postpone: color: hexcolor: flexhexcolor: decimal:
|
2017-08-31 21:21:13 -05:00 |
Doug Coleman
|
9a94118c9d
|
modern: Fixing backslashes.
|
2017-08-31 21:21:12 -05:00 |
Doug Coleman
|
4f5837b41c
|
modern: Don't need a delimiter stack. Yet?
|
2017-08-31 21:21:12 -05:00 |
Doug Coleman
|
bb6ffbd9e2
|
modern: Allow :foo: and handle :> correctly. Add unit tests.
|
2017-08-31 21:21:12 -05:00 |
Doug Coleman
|
6c5bc17c58
|
factor: CHAR: ; -> CHAR: \;
|
2017-08-31 21:21:12 -05:00 |
Doug Coleman
|
eb173e2caa
|
factor: Add more character escapes.
|
2017-08-31 21:21:12 -05:00 |
Doug Coleman
|
84e40810cd
|
factor: CHAR: : -> CHAR: \:, same for [{(
|
2017-08-31 21:21:12 -05:00 |
Doug Coleman
|
f049487021
|
modern: Add some more terminators.
|
2017-08-31 21:21:12 -05:00 |
Doug Coleman
|
2d77edf9a2
|
modern-tests: Add some unit tests.
|
2017-08-31 21:21:12 -05:00 |
Doug Coleman
|
58e09f4a58
|
modern: Add some words to lex every root.
|
2017-08-31 21:20:43 -05:00 |
Doug Coleman
|
137384cdea
|
modern: Don't allow patterns like ``foo: ;``
|
2017-08-31 21:20:43 -05:00 |
Doug Coleman
|
c06f0eb5f7
|
modern: Fix up a bit.
|
2017-08-31 21:20:43 -05:00 |