Commit Graph

480 Commits

Author SHA1 Message Date
Jared Tobin
925e783513
Minor documentation fix. [ci skip] 2019-03-20 19:17:44 +13:00
Jared Tobin
27fad35eae
Cast more idiomatically. 2019-03-20 10:16:43 +13:00
Jared Tobin
e1fe53ae54
Fix =/ indentation. 2019-03-20 10:10:07 +13:00
Jared Tobin
c65f882408
Minor cosmetic changes.
Indent lengthy subexpressions after using =/.
2019-03-20 09:44:44 +13:00
Jared Tobin
fdb9d0f58d
Replace =+ with =/.
I believe =/ is the superior choice and is worth standardising on.
2019-03-20 09:43:20 +13:00
Jared Tobin
fbfc520f95
Add additional documentation for +ob. 2019-03-19 19:50:58 +13:00
Jared Tobin
0e97c1b92b
Use hex values for cipher arguments. 2019-03-19 19:49:58 +13:00
Jared Tobin
3beac031e6
Minor doc fix.
(The cipher's domain was documented incorrectly.)
2019-03-19 19:49:05 +13:00
Jared Tobin
89748fa179
Allow general PRFs in +ob functions.
This allows us to test the +ob functions exhaustively on smaller input
spaces.
2019-03-18 21:52:58 +13:00
Jared Tobin
758e3e2232
Replace +ob with a corrected version.
'ob', a core that implemented a permutation cipher for planet-sized
atoms, contained a critical bug that allowed multiple inputs to encipher
to the same output.  This created collisions between some planet-sized
@p values.

The rewritten version corrects this bug, and also rewrites +ob to more
clearly match both 1) the paper that the algorithm comes from, and 2)
the parallel implementation in urbit-ob that has gone through an
exhaustive test.

This also adjusts two calls to 'ob' elsewhere in hoon.hoon such that
they match the updated core.
2019-03-18 20:35:20 +13:00
jfranklin9000
34c69c300f added initial image support to udon parser (#1085) 2019-03-01 18:41:12 -08:00
benjamin-tlon
d06693dc7e
Add support to lens-command for pill output and optimized base64 encoding. (#1068)
Added support to `lens-command` for outputting a pill. We want this so that we can create (solid and brass) pills from `urb.py`.

This also adds an optimized base64 encoding routine. The previous version of base64 stack overflowed on large inputs, and a tail-recursive version took hours to encode 5mb of data. This one uses the `ripn` jet and only takes a second or two.
2019-02-27 16:12:59 -08:00
Joe Bryan
4b349d6a63 disables stack traces in +wa (the caching compiler engine) 2019-02-05 19:04:28 -05:00
Joe Bryan
e603aef6b5 Merge branch 'hotfix' into next
* hotfix:
  ensures $~ defaults nest in the actual structure
  behn: ignore duplicate %wait requests (#1043)
  restores +able:dill comment margin
  renames kernel upgrade initialization event from %vega to %lyra
  refactors arvo's +spam:is, which sends a move to every vane
  refactors effect iteration in arvo +poke
  updates arvo/vanes to send/receive %vega kernel upgrade notification
  build tank outside of |.
2019-02-05 18:42:19 -05:00
Joe Bryan
cee6ff1c9b ensures $~ defaults nest in the actual structure 2019-02-05 14:56:55 -05:00
Ted Blackman
141d7ebf6a fix a +has:in call site 2019-01-29 16:42:15 -08:00
Ted Blackman
b75c19e854 +has:in typecheck hack 2019-01-29 16:42:15 -08:00
Fang
8cd2a02f04 Remove trailing whitespace 2019-01-17 21:37:34 -08:00
benjamin-tlon
bf78d3a343
Type Printer Integration (#970)
Moved plum/plume/xray/pprint into the kernel, made it accessible from the dojo, and did a bit of cleanup.
2019-01-10 15:29:58 -08:00
Joe Bryan
9873cd77cf adds explicit types to the sample of +uno:by 2019-01-10 02:33:40 -05:00
Joe Bryan
d318b2cfcf renames +vor to +mor, comments noun-order gates 2019-01-08 22:37:28 -05:00
Joe Bryan
1d2f2ff36a switch +mug to murmur3 2019-01-08 22:07:01 -05:00
Joe Bryan
7f1168aa84 Revert "stage parallel noun-orders, map engine, and compiler"
This reverts commit 52db016fdc.
2019-01-08 22:06:46 -05:00
Joe Bryan
e71afba77d Revert "use +mur in place of +mug"
This reverts commit 5b4ab145cc.
2019-01-08 22:05:14 -05:00
Joe Bryan
ec7cc5a581 removes +lor 2019-01-08 18:10:40 -05:00
Joe Bryan
d0aaea8df5 removes +hor 2019-01-08 18:10:40 -05:00
Joe Bryan
0c4f2f9f14 uses +gor in place of +hor 2019-01-08 18:10:40 -05:00
Joe Bryan
5b4ab145cc use +mur in place of +mug 2019-01-08 18:10:40 -05:00
Joe Bryan
52db016fdc stage parallel noun-orders, map engine, and compiler 2019-01-08 18:10:40 -05:00
Joe Bryan
47d6b95edd renames +mum to +mur 2019-01-07 23:47:01 -05:00
Elliot Glaysher
9828c02473 Remove duplicated code between arvo and hoon
Also removes some dead code from arvo which lets us clean up some
^ in dojo.
2019-01-02 11:09:25 -08:00
Ted Blackman
7ed3a02a92
+slum to call raw nock gate; some associated cleanup (#923) 2018-12-08 18:42:36 -08:00
Elliot Glaysher
946204edd9
Merge pull request #924 from urbit/dont-nuck-in-sloy
Dont nuck in sloy
2018-12-07 15:06:51 -08:00
Elliot Glaysher
e65f374cc1 Also have some more hints. 2018-12-07 14:45:55 -08:00
Ted Blackman
51c7147a3d
Fix turn types (#919)
fix +turn types
2018-12-07 11:40:21 -08:00
Elliot Glaysher
98e62e353b
Merge pull request #917 from urbit/no-dude
Use a trap to lazily evaluate the arguments to %dude in Eyre.
2018-12-06 15:58:12 -08:00
Elliot Glaysher
f659f91107 Use a trap to lazily evaluate the arguments to %dude in Eyre.
Also adds a bunch of hints to make runtime more legible.
2018-12-06 15:10:34 -08:00
Elliot Glaysher
2d7c281515 Don't do two passes in the unjetted +sort
While jetting +sort (urbit/urbit#1088), I made it do only a single
pass to separate the list around a pivot instead of using two. Do
this in the hoon code, too.
2018-12-06 13:54:43 -08:00
Joshua Reagan
39dd1c56b0
%hold removed 2018-12-06 12:31:39 -06:00
Joshua Reagan
be45aaeefe
losing the b reference 2018-12-06 11:47:55 -06:00
Joshua Reagan
4f0a4e795b
remove !: 2018-12-06 01:15:09 -06:00
joshuareagan
95f0a5c797 use assertion 2018-12-06 01:01:54 -06:00
joshuareagan
b8a4ab3f10 type variance bug fix 2018-12-05 22:23:36 -06:00
Elliot Glaysher
af3e4c641e Add special cases for %da and %ta to +slaw
+slav calls +slaw with %da and %ta in several places across multiple
vanes. This refactors the date parsing code into its own arm so it
can be called from +slaw.
2018-12-05 11:08:11 -08:00
Elliot Glaysher
86ec9b060a Also add %uv handling to +slaw 2018-12-04 14:07:01 -08:00
Elliot Glaysher
552401abf4 Rush parshing 2018-12-04 10:19:50 -08:00
Elliot Glaysher
770025c155 Do fast special cases for +slaw instead of always calling +slay.
+slay is a giant, recursive, slow parser combinator. +slaw is called
on every beam handling. In actual usage, we can special case based
on the passed in type and use a much smaller parser.
2018-12-03 16:41:30 -08:00
Joshua Reagan
744a064b98
Merge pull request #902 from urbit/release-candidate-variance
variance fix: calling lead, zinc gates
2018-11-29 19:04:34 -06:00
Elliot Glaysher
708396cfbf
Merge pull request #896 from urbit/more-arvo-cache
Additional caching in the arvo kernel
2018-11-29 11:28:16 -08:00
joshuareagan
0eaca3970f variance fix: calling lead, zinc gates 2018-11-29 12:49:08 -06:00