Commit Graph

50 Commits

Author SHA1 Message Date
Fang
108f8079af Start markdown with --- 2017-08-01 16:38:06 -07:00
Fang
be584f89b3 Detect code blocks immediately inside containers 2017-08-01 15:54:26 -07:00
Fang
3c2cbdaea2 use col to track code/poem indents properly
(this was previously causing a bug, but can't be reproduced)
2017-08-01 15:22:24 -07:00
Fang
47e65df18a parse first line in container 2017-08-01 15:06:13 -07:00
Fang
25f04ac5e5 Allow nested containers by parsing their delimiters immediately 2017-08-01 12:52:10 -07:00
Fang
1b4fd3440c Parse indent in ++snap directly instead of feeding spaces to span-level parsers 2017-08-01 12:22:45 -07:00
Fang
4cb1d46618 correctly check for outdents without intervening blank lines 2017-07-31 18:06:08 -07:00
Fang
417c63e83e fix bad assumption in conversion code, extract style->indent map 2017-07-31 18:05:46 -07:00
Fang
0fac5b29b6 don't require blank lines between list items, quotes 2017-07-31 17:26:18 -07:00
Fang
1c34ce1f96 extract ++new-container logic 2017-07-31 17:20:19 -07:00
Fang
1076a1ee31 Add --- <hr> parsing 2017-07-31 15:55:35 -07:00
Fang
827d091a60 Require space before hoon literals 2017-07-31 15:04:44 -07:00
Fang
be4f22d20c Fix header parsing 2017-07-31 14:30:01 -07:00
Fang
5fbff69e37 Change blackquote syntax to '> ', embed syntax to '! ' 2017-07-28 15:00:14 -07:00
Fang
71eca553eb Comment consistency & cleanup. Removed unused code. 2017-07-28 13:45:17 -07:00
Fang
2d0a5d1aa3 Fixed issues with codeblocks where they prevented subsequent items from being processed properly.
Codeblocks can now contain newlines.
2017-07-27 18:06:43 -07:00
Fang
63d6ff5d76 Codeblocks no longer repeat themselves. 2017-07-27 15:36:47 -07:00
Fang
4f339023e4 minor reorg 2017-07-27 13:25:03 -07:00
Fang
07fccb7890 Cleanup of superfluous arms, simplifying. 2017-07-26 18:22:19 -07:00
Fang
b047c1a5d3 Moved parsers into their own core. 2017-07-26 18:19:33 -07:00
Fang
db2ee73e6c Use parser in ++look 2017-07-26 17:04:19 -07:00
Fang
c46092e4d5 Make ++cash but an echo 2017-07-26 15:24:24 -07:00
Fang
6713af6169 refactor ++flow to be a list, allow interpolations 2017-07-26 12:34:05 -07:00
Fang
b5ba807baf Perf 2017-07-26 12:20:58 -07:00
Fang
3277f99927 Revert to canonical hoon/hoon concatenator 2017-07-26 12:07:59 -07:00
Fang
f2756f3221 Slightly neater literal quote handling 2017-07-26 12:03:03 -07:00
Fang
84eab5b3b7 Remove double-escaping 2017-07-26 12:01:46 -07:00
Fang
0ad29f19ce Implemented interpolated sail parsing.
Added test case for interpolated sail parsing.
2017-07-26 11:28:57 -07:00
Fang
b6cfb010d4 Simplified ++word parsing, no longer produces (list graf), now just graf. 2017-07-26 11:27:21 -07:00
Fang
2d88f97159 Markdown parser now parses sail expressions. 2017-07-25 17:58:33 -07:00
Fang
ffe3b9cb6e Dynamic types into the markdown parser. 2017-07-25 17:23:08 -07:00
Fang
32f101c2fe Enabled sail interpolation emitting dynamic manx. 2017-07-25 16:41:17 -07:00
Fang
bfa305c040 Made static sail (without interpolation) function. 2017-07-25 15:58:25 -07:00
Fang
4752e6aee0 Started changing ++sail to produce appropriate types. 2017-07-24 18:15:51 -07:00
Fang
474be42749 Renamed arms in ++sail to be more verbose, and lightly restructured some. 2017-07-24 17:50:46 -07:00
Fang
ed058c3cfe Shuffled !. around. Now properly produces output. 2017-07-24 17:49:12 -07:00
Fang
5028bc752d Copied in ++sail and relevant types (++beet, ++tuna). 2017-07-24 16:13:21 -07:00
Fang
2aa06e0910 Merge branch 'unmark' of https://github.com/cgyarvin/arvo into unmark
# Conflicts:
#	gen/cram.hoon
2017-07-24 16:01:50 -07:00
Fang
47326491c5 Whitespace & indentation cleanup. 2017-07-24 16:00:44 -07:00
Fang
7c6dd0e88c Added in dynamic XML types. 2017-07-24 15:55:57 -07:00
Fang
465de0cc8a Miscellaneous tiny stylistic changes and comments. 2017-07-24 15:55:18 -07:00
Fang
1a5ade039c Restructured ++head to be slightly prettier. 2017-07-24 15:54:06 -07:00
Fang
97641ba5d0 Restructured ++down to be slightly prettier. 2017-07-24 15:52:59 -07:00
Fang
f10cfee245 Renamed $none and $done to $fini and $none respectively. 2017-07-24 15:51:48 -07:00
Fang
b5c9b7ac36 Less verbose generator head. 2017-07-24 15:50:39 -07:00
Fang
95df3b98b4 Whitespace cleanup & comment spacing. 2017-07-24 15:49:59 -07:00
C. Guy Yarvin
6e4799d4d4 Debugging disabled for perf testing. 2017-07-24 14:34:09 -07:00
C. Guy Yarvin
719db54c3b More comments. 2017-07-24 12:21:53 -07:00
C. Guy Yarvin
19f0746ef0 Appears functional. 2017-07-23 23:19:53 -07:00
C. Guy Yarvin
84a23d75c4 Rename. 2017-07-23 16:01:13 -07:00