Commit Graph

6055 Commits

Author SHA1 Message Date
drbeefsupreme
948bd1e185 doccords: adds batch comment examples to lib/deco 2022-07-06 17:23:25 -04:00
drbeefsupreme
37343b6d87 doccords: add sample library lib/deco.hoon 2022-07-06 17:20:21 -04:00
drbeefsupreme
938dc8cfe4 dojo: reverse doccords query ordering 2022-07-06 17:19:44 -04:00
drbeefsupreme
27135f1bb5 dprint: links -> cuff 2022-07-06 16:31:07 -04:00
drbeefsupreme
1cd95a9ceb hoon: add +$ cuff (list link)
makes doccords stuff more readable. also changes the (list link) in
$help to cuff
2022-07-06 16:30:24 -04:00
drbeefsupreme
a4ca51009a dprint: fix syntax and test suite for new parser 2022-07-06 16:21:13 -04:00
drbeefsupreme
de19456f82 hoon: revamp doccords parsing for batch comments
this commit replaces the previous intermediate parsing structure, $whit,
with a new one better suited for batch comments and taking into account
that {#  %label} syntax is no longer being used anywhere. basically,
this makes it so that all doccords are batch comments, where if they are
preceded by a (list link) then they will try to attach to the given
link (only utilizes first link for now), and a blank link means it will
try to attach to the following hoon or spec
2022-07-06 16:17:54 -04:00
drbeefsupreme
b80590fd05 hoon: remove _docs-engine
thought this would play a larger role than it did. currently it is unused
2022-07-01 17:47:18 -04:00
drbeefsupreme
274bc167d0 dprint: remove erroneous sigpam 2022-07-01 17:11:38 -04:00
drbeefsupreme
2028ae9397 dprint: batch comment tests, more refactoring 2022-07-01 13:48:48 -04:00
drbeefsupreme
3bfad4807a hoon: fix batch comment parser
the merge broke it i guess
2022-07-01 12:14:47 -04:00
drbeefsupreme
37ce546dd4 dprint: simplify arm doc testing 2022-07-01 10:39:01 -04:00
drbeefsupreme
5710826cd4 dprint: fix test library argument 2022-06-30 17:18:09 -04:00
drbeefsupreme
97d183b7af Merge branch 'master' into jon/doccords 2022-06-30 17:17:15 -04:00
drbeefsupreme
b3e6f82499 dojo: change doccords syntax to be path-like
using col as a seperate made it look like a bunch of =<, which doesn't
make sense for e.g. pritning chapters. paths aren't quite right either,
so we don't use +stap, and just want identifiers separated by fas
without any leading fas
2022-06-30 17:13:07 -04:00
drbeefsupreme
b4d04444cd dprint: add missing doccords 2022-06-30 16:58:45 -04:00
drbeefsupreme
0f8f90c1fd dprint: simplify type to item interface
shouldn't need to surface recursion to the developer
2022-06-30 16:56:04 -04:00
drbeefsupreme
69b06e0ac3 dprint: add identifying glyphs to various items 2022-06-30 16:27:06 -04:00
drbeefsupreme
4b8cdd6f83 dprint: easier to read style changes 2022-06-30 15:14:56 -04:00
drbeefsupreme
5b65288268 dprint: add styled text first run
mostly just to get something working, next i will clean up syntax
2022-06-30 11:39:06 -04:00
drbeefsupreme
72dec146b4 dprint: update default core arm comment syntax 2022-06-28 13:30:40 -04:00
drbeefsupreme
77b5c736aa hoon: fix batch comment parsing for ++ $ arms
comments for ++  $  arms are set using four aces
2022-06-28 13:29:42 -04:00
drbeefsupreme
8f48f08f1a dprint: change to batch comment syntax 2022-06-28 12:12:03 -04:00
drbeefsupreme
efe01b815a hoon: batch comment doccords inside of cores
changes $whit to have a (unit link) instead of (unit term). this holds
the identifier for where a comment is supposed to go. changes to parsers
in docs:vast to accomodate this.

this only allows for batch comments written for arms within a given
core. someday, the feature should allow you to write comments
virtually anywhere. the (unit link) in $whit should become a (unit (list
link)) to accommodate this
2022-06-28 12:12:03 -04:00
drbeefsupreme
8cd919b936 dojo: ?? pattern matches on %hint types 2022-06-28 11:31:22 -04:00
drbeefsupreme
8f946ed414 dojo: print %help hints with ?? 2022-06-24 13:55:09 -04:00
drbeefsupreme
941ff18d9b hoon: refactor doccord parsing for +tall and +till 2022-06-24 12:30:52 -04:00
drbeefsupreme
6f66a6d7fd pprint: add %dict tag 2022-06-22 15:47:08 -04:00
drbeefsupreme
552b8e9e94 hoon: spec doccord parsing, refactor +till +tall 2022-06-22 15:46:11 -04:00
drbeefsupreme
d0b8d284ce hoon: add %dict tag to %spec for doccords 2022-06-22 15:45:40 -04:00
drbeefsupreme
8cb392fbba dprint: comment for library 2022-06-09 16:21:48 -04:00
drbeefsupreme
a8e28cc632 dprint: remove chapter-id from %chapter item
redundant with the name
2022-06-09 15:19:39 -04:00
drbeefsupreme
832d483388 dprint: cleanup some logic around %hint types
deduplicating some code and making it a bit easier to understand. still
kind of a mess, but its progress and all tests are passing
2022-06-09 14:40:45 -04:00
drbeefsupreme
8f0bc304df dprint: help from hint uses second type, pass test
still not entirely sure what's different in the two types in a %hint
type, but this change made a bunch of the unit tests go from failing to passing
2022-06-09 13:46:21 -04:00
drbeefsupreme
a59bd02054 hoon: doccords, product-docs arent made in +boog
this is almost a revert of the commit that added in the %funk tag, but
not quite, so its a new commit. i apparently forgot that product docs
are actually built by +wrap, not +boog, so it was treating postfix
arm-docs as if they were product docs
2022-06-09 13:30:18 -04:00
drbeefsupreme
f31a9edd79 dprint: swap expected<->actual order in unit tests 2022-06-09 11:52:38 -04:00
drbeefsupreme
62716ff976 dprint: name core containing types 2022-06-09 11:35:10 -04:00
drbeefsupreme
693226bca3 dprint: deduplicate role of +signify
some of the functionality of +signify was being done elsewhere, this
moves it into +signify
2022-06-09 11:33:29 -04:00
drbeefsupreme
f7d0d3e5a1 dprint: missed |^ in last commit 2022-06-09 11:18:10 -04:00
drbeefsupreme
605960eb3a dprint: simplify and fix core/chapter/arm search
the main issue fixed was with looking inside of chapters for arms didn't work
2022-06-09 11:04:09 -04:00
drbeefsupreme
a3ddde7cfc dprint: compile default arm in core against core
previously it was only compiling against the context, which meant it
broke if an arm referred to another arm
2022-06-08 15:41:04 -04:00
drbeefsupreme
0972c85e91 dprint: arms calling other arms dont steal doccord
i thought this would be a neat feature but ted called it too clever and
probably not what you really want. this code is atrocious though and
needs some serious cleanup
2022-06-08 15:39:40 -04:00
drbeefsupreme
6e02e35862 dprint: fix issues with core types
not actually sure this is correct yet, but it fixed the issue where
there would be a crash when looking for docs in an arm like +bar in
|%
++  foo  'foo'
++  bar  foo
--
2022-06-08 12:43:01 -04:00
drbeefsupreme
7e0d16d817 dprint: new core naming syntax
changes the syntax for cores named with :>  #  %corename to
|%  %core-name for the dprint and dprint testing library
2022-06-07 12:37:32 -04:00
drbeefsupreme
3d3ea61d53 hoon: %brcn and %brpt names for doccords
changes the syntax for naming |% and |@ cores from
:>  #  %core-name
to
|%  %core-name
2022-06-07 12:36:23 -04:00
drbeefsupreme
39ac7cb820 Merge branch 'master' into jon/doccords 2022-06-07 11:10:20 -04:00
Hunter Miller
c7ee2f7230 Merge branch 'master' into next/landscape 2022-06-03 10:48:39 -05:00
Philip Monk
5b773723b3 Merge remote-tracking branch 'origin/yu/ames-fixes' into next/arvo 2022-05-20 22:52:00 -07:00
Philip Monk
ac64f44538 clay: update tests 2022-05-20 20:03:34 -07:00
Philip Monk
b914fbaedc clay: add logging commands 2022-05-20 17:01:50 -07:00