hoon: doccords wrap bar runes with %notes

this changes the parser to take any bar runes surrounded by formal
comments and wraps them with %note tags containing those comments
This commit is contained in:
drbeefsupreme 2022-03-16 13:05:58 -04:00
parent ff81189823
commit c01732de16
No known key found for this signature in database
GPG Key ID: B70D5683DE7F9EFC

View File

@ -8216,13 +8216,22 @@
?: =([~ ~ ~ ~] wit)
gen
?+ gen gen
::
$? [%brbc *] [%brcb *] [%brcl *] [%brdt *] [%brkt *]
[%brhp *] [%brsg *] [%brtr *] [%brts *] [%brwt *] ==
?~ boy.wit
gen
[%note help+`u.boy.wit gen]
::
[%brcn *]
[%brcn lab.wit q.gen] :: populate (unit term) with lab.wit
?~ boy.wit
[%brcn lab.wit q.gen]
[%note help+`u.boy.wit [%brcn lab.wit q.gen]]
::
[%brpt *]
[%brpt lab.wit q.gen] :: populate (unit term) with lab.wit
::
?~ boy.wit
[%brcn lab.wit q.gen]
[%note help+`u.boy.wit [%brpt lab.wit q.gen]]
==
--
::