Commit Graph

1549 Commits

Author SHA1 Message Date
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
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
39ac7cb820 Merge branch 'master' into jon/doccords 2022-06-07 11:10:20 -04:00
Philip Monk
c091ec92eb various: make all files build correctly 2022-05-14 22:49:10 -07:00
Philip Monk
8a2eac7c70 Merge remote-tracking branch 'origin/ted/ames-prod-2' into philip/tomb 2022-05-14 21:17:10 -07:00
Philip Monk
e457a4c15e Merge remote-tracking branch 'origin/jm/homebase' into philip/tomb 2022-05-14 20:46:09 -07:00
Philip Monk
c029495ac5 helm: emit moon-breach in new event 2022-05-14 19:04:13 -07:00
Philip Monk
82bd5d15b1 Merge remote-tracking branch 'origin/next/arvo' into philip/tomb 2022-05-12 20:45:20 -07:00
Philip Monk
b29865a021
Merge pull request #5662 from urbit/philip/moon-self-breach
helm: add poke to helm to allow self-breaching moons
2022-05-12 20:24:50 -07:00
Philip Monk
e66b6b6a16 kiln: use %only-that for vats merges 2022-05-10 20:38:57 -07:00
Philip Monk
591bdf458c Merge branch 'next/arvo' into philip/tomb 2022-05-04 00:45:57 -07:00
Philip Monk
71d4f72ce1
Merge pull request #5647 from urbit/roller/batch-split
roller: add batch-trimming functionality
2022-05-03 14:34:12 -07:00
fang
4415aa781e
Merge branch 'next/arvo' into m/aqua-revival 2022-04-20 18:47:59 +02:00
Philip Monk
ed00d38166 clay: add |tomb 2022-04-08 21:20:02 -07:00
drbeefsupreme
dd71b7c788
doccords: dprint debug printfs 2022-04-07 13:05:58 -04:00
drbeefsupreme
b0230086ce
doccords: dprint chapter and overview print tweak
printing an overview only gives the summary now, not the details. also
fixed chapter printing so that it doesn't print the details twice
2022-04-07 12:55:30 -04:00
drbeefsupreme
b41b22ab70
doccords: dprint fix chapter printing 2022-04-07 12:42:55 -04:00
drbeefsupreme
7d8fabe6cf
doccords: dprint remove +shallow-match
it was factored into +find-item-in-type
2022-04-07 11:54:33 -04:00
drbeefsupreme
7a94319af3
dojo, doccords: dprint library can take list term
this allows you to search for foo:bar instead of just foo
2022-04-06 17:37:55 -04:00
drbeefsupreme
0e8cf3bbfa
doccords: dprint improve default arm core docs
the logic for getting the docs on the default arm of a core is now more
similar to how other arm docs are gotten, rather than having its own
system. there is still more room for improvement
2022-04-06 16:34:02 -04:00
drbeefsupreme
33b2761b39
doccords, dojo: move flop print-arm -> dy-inspect
this looks more sensible
2022-04-06 15:50:23 -04:00
drbeefsupreme
912a5023bb
doccords: flop order of +print-arm results 2022-04-06 14:58:28 -04:00
Philip Monk
4131821b4f clay: unify all trie implementations
We had trie operations independently implemented in +de in arvo,
+an:cloy in zuse, +zu in clay, lib/trie, and app/spider.  This unifies
them all into +de in arvo, aggregating the used operations.
2022-04-06 00:19:38 -07:00
drbeefsupreme
69399c4153
doccords: remove unwrap-note from dprint
we shouldn't be getting docs from the AST, so this should never be needed
2022-04-05 15:55:42 -04:00
drbeefsupreme
3afc9b6899
doccords: dprint all docs in %arm items from type
before this, it was grabbing the initial arm-doc from the AST rather
than the type. now %arm items have all 3 types of docs available. the
interface has been degraded somewhat though, as %arm items no longer
have a single docs field. more refactoring will be needed to figure out
the best way to do this.
2022-04-05 15:52:35 -04:00
drbeefsupreme
37a787970c
doccords: dprint refactoring and renaming 2022-04-05 15:17:57 -04:00
drbeefsupreme
151608d583
doccords: dprint fix depth calculation
stupid loobeans tripping me up
2022-04-05 14:44:47 -04:00
drbeefsupreme
eb4b996420
doccords: dprint can dist. arm-doc and prod-doc
rewrites select-arm-docs so that it checks for nested hint types and
sees if the outermost help hint has a %funk link with the name of the
arm in order to tell that its an arm-doc
2022-04-05 12:38:02 -04:00
drbeefsupreme
6a6078b554
doccords: dprint core and chapter items
adds the ability to find cores and chapters and produce an item from them
2022-04-04 16:23:27 -04:00
drbeefsupreme
edfcceb1d9
doccords: dprint print overview
also adds another mule to a play:ut call to avoid another crash that i'm
not sure yet why it is happening
2022-03-31 18:45:28 -04:00
drbeefsupreme
a15711c74d
doccords: dprint fix crash on non-help %hint 2022-03-31 17:59:45 -04:00
drbeefsupreme
d9e44e9e76
doccords: dprint print core routine 2022-03-31 17:35:50 -04:00
drbeefsupreme
752182f0bf
doccords: dprint fix default core arm printing
if the product had its own docs, it wouldn't also get the docs for a
the default arm produced by the core. this fixes that. also misc style
fixes
2022-03-31 17:33:59 -04:00
drbeefsupreme
1af2e8fdae
doccords: dprint library unwrapping hints
doesn't totally work yet
2022-03-31 14:39:09 -04:00
drbeefsupreme
91aeb0fdbf
doccords: more printing tools 2022-03-30 15:36:30 -04:00
drbeefsupreme
af7d38124b
doccords: finding and print doccords library
initial commit for library for finding and printing doccords. has some
basic functionality for looking through a type and finding the docs
within it and printing them, but is mostly unfinished
2022-03-30 14:51:40 -04:00
Philip Monk
a6832975c7 helm: add poke to helm to allow self-breaching moons
Intended use is for transitory moons to be able to breach themselves on
startup.

If you run a moon without persistence, then every time the program is
restarted, it must be breached.  This lets the moon breach itself
instead of requiring direct interaction with the planet.  The moon
should reserve the first bone for this purpose, and then every time it
starts up, it should send [%helm-moon-breach ~moon-name] to hood on the
planet.
2022-03-24 19:20:01 -07:00
fang
3259f1f588
aqua: fix most tests
Small touch-ups to simulation behavior and ph tests. Most of them pass
now, even if they're still really slow at times.

The breach ones don't pass, but also complain of dangling bone, so might
work once the fix for that is in.
2022-03-23 22:19:35 +01:00
yosoyubik
cff562b4c6 Merge branch 'next/arvo' into roller/batch-split 2022-03-20 14:27:50 +01:00
Yaseen
add4452589 review: symlink base-dev files into arvo 2022-03-11 10:56:23 -05:00