Commit Graph

495 Commits

Author SHA1 Message Date
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
Elliot Glaysher
fc37eedfd3 Additional caching in the arvo kernel 2018-11-26 11:31:34 -08:00
Joe Bryan
265fe6bc8a fixes +hunt to support null units 2018-11-26 00:19:40 -05:00
David Kerschner
717073b22d Added support for uppercase letters in sail attributes (#890) 2018-11-19 09:57:32 -08:00
Fang
113f82b6f0
Merge pull request #824 from urbit/vat-q
Add @q, phonetic data representation
2018-11-13 11:07:25 -08:00
rmariani
7a5f5d0df0 Fixes ``` UMD bug
In Udon, you can now display a literal ``` in code-quotes using this syntax:

```
`\``
```

big thanks to Ted for helping me with this.
2018-11-06 23:30:09 -08:00
Joe Bryan
c8f1b4d5a1 Merge branch 'release-candidate' into ames-eth-keys
* release-candidate: (33 commits)
  update pin-vere-commit.txt
  Bug fix for metal-wrapping runes
  Remove old-zuse (#867)
  Type Analysis (#865)
  remove clam from error sigpam
  Fix compiler error.
  Remove temporary type analysis work.
  Remove ++cook from ++auri parsing
  Remove forced ssl upgrade for localhost http reqs
  moved to new branch with updated arvo
  11. demacrotizes %6, %7, %8, and %9
  10. updates %5 to require two subformulas (4K)
  9. emits %10 (4K)
  8. adds and implements edit (%10) (4K)
  7. removes %13 and %14 (4K)
  6. emits %11 and %12 (4K)
  5. implements hint at %11 and wish at %12 (4K)
  4. removes %10 and %11 (4K)
  3. emits %13 and %14 (4K)
  2. implements %13 and %14 (4K)
  ...
2018-11-01 00:18:54 -04:00
Joshua Reagan
58cf323aa7
Bug fix for metal-wrapping runes
A bug causes this cast to go through:

```
^+(|=(@ 15) ^&(|=(@ 15)))
```

It should nest-fail.  This change makes the cast work correctly with the metal wrapping runes `^&`, `^|`, and `^?`.
2018-10-31 13:56:56 -05:00
Curtis Yarvin
31df8efda8 Fix compiler error. 2018-10-22 15:38:27 -07:00
Curtis Yarvin
3333d47de2 Merge branch 'research-final' into release-candidate 2018-10-22 12:47:26 -07:00
Joe Bryan
535ab6e90b updates %jael to save and %ames to give domains (on boot/startup)
also defers initial clay merge,
renames +turf (utf8 to utf32) to +taft,
and removes duplicate +turf (domain) declarations,
and updates pinned vere to use them
2018-10-16 21:02:41 -04:00
Joe Bryan
06fa0d14a9 11. demacrotizes %6, %7, %8, and %9 2018-10-10 23:23:41 -04:00
Joe Bryan
6e2e6b001f 10. updates %5 to require two subformulas (4K) 2018-10-10 23:04:29 -04:00
Joe Bryan
f16f052401 9. emits %10 (4K) 2018-10-10 20:10:56 -04:00
Joe Bryan
48d67779df 8. adds and implements edit (%10) (4K) 2018-10-10 19:33:11 -04:00
Joe Bryan
f48ce3509c 7. removes %13 and %14 (4K) 2018-10-10 19:27:38 -04:00
Joe Bryan
ad6c489528 6. emits %11 and %12 (4K) 2018-10-10 18:58:19 -04:00
Joe Bryan
4693f111ff 5. implements hint at %11 and wish at %12 (4K) 2018-10-10 18:38:53 -04:00
Joe Bryan
a2187e308c 4. removes %10 and %11 (4K) 2018-10-10 18:23:22 -04:00
Joe Bryan
0cbd5e54e9 3. emits %13 and %14 (4K) 2018-10-10 18:00:52 -04:00
Joe Bryan
a3c3b422f7 2. implements %13 and %14 (4K) 2018-10-10 17:32:41 -04:00
Joe Bryan
e07aee64a2 1. duplicates hint (%10) and wish (%11) at %13 and %14 in +nock (4K) 2018-10-10 17:16:03 -04:00
Joe Bryan
2a78815ede adds fast hints to +need and +shas 2018-10-02 21:45:26 -04:00
Paul Driver
3911d9a8bf differentiate +pfix and +sfix 2018-10-02 21:45:26 -04:00
Fang
020a8fd96a Add @q, phonetic data representation
It's @p, except never scrambles, and doesn't use -- in large values.
2018-09-27 19:56:36 -07:00
Curtis Yarvin
72a6beaf4a Various analysis work. 2018-09-10 10:52:14 -07:00
Curtis Yarvin
6cf2303f2d Various fixes and improvements. 2018-09-05 17:38:36 -07:00
Fang
737b1d8ba1
Merge pull request #787 from urbit/crypto-additions
Includes in zuse:
* little-endian wrappers for the SHA and HMAC families,
* secp256k implementation,
* Blake2b implementation,
* Argon2 implementation,

And adds libraries for:
* BIP32 HD wallets,
* keygen, to match [keygen-js](/urbit/keygen-js).
2018-08-29 18:27:51 +02:00
Joe Bryan
ad4e7dd7d1
Merge pull request #755 from urbit/rmariani-patch-1
removes dead +mz:nl, updates +bif syntax
2018-08-28 14:01:24 -07:00
rmariani
f5de7a8bd8 Fixed commentary in +ff (#781)
A comment incorrectly indicated that `w` was a face for two different terms in the same arm.
2018-08-28 13:48:11 -07:00
rmariani
ea84114a0b removes dead +mz:nl, updates +bif syntax
`+mz:nl` was determined by ~sorreg to be dead code, and there doesn't seem to be any possible `a` that will nest in the current code.

Also, `+bif:in` and `+bif:by` had the weird syntactical construct of `=<  [+< +>]`. I simplified it to the more straightforward `=< +`.
2018-08-28 13:44:42 -07:00
Joshua Reagan
01ac311fac crash ++ rad when arg of 0 is used (#766)
* crash `++ rad` when arg of `0` is used
2018-08-28 13:37:16 -07:00
Fang
67be11499b
Merge branch 'release-candidate' into crypto-additions 2018-08-28 16:35:53 +02:00
Fang
81c36e3a86 Restore trailing whitespace for merge 2018-08-28 16:31:43 +02:00
Joe Bryan
50782bd1c9 Merge branch 'research-constitution' into release-candidate
* research-constitution: (120 commits)
  removes obsolete doccords-style comments
  Revert "fixy uno~by, other vor-based code duplication"
  Implement argon2.
  Use face over lark when available.
  Implement blake2b.
  Use ++rep over ++can when we can
  Use ++rev over ++swp, for safety.
  Clean up base58 en/decoding
  Rename secp point serialization arms
  Add HMAC-SHA1
  Put +=byts to use
  Restructure and complete BIP32 core
  Fix bug in RIPEMD-160 implementation.
  BIP32 key derivation logic. Messy, in dire need of restructuring.
  Fix bug in HMAC implementation.
  SHA-1 re-implementation, can account for leading zeroes.
  Converting points on curve to un/compressed numbers.
  RIPEMD-160 implementation.
  Start work on BIP32 support. Library file includes wrappers for the SHA family to make it take and produce sane byte order data, and a new HMAC implementation that depends on it. Also includes @belisarius222's secp256k1 implementation, plus experimental (and broken) support for other secp variants.
  Add ++rev to bit arithmetic, for reversing block order while accounting for leading zeroes.
  ...
2018-08-27 15:48:13 -07:00
Joe Bryan
aa3f43c00d Revert "fixy uno~by, other vor-based code duplication"
This reverts commit d5d8715b3c.
2018-08-27 14:56:45 -07:00
Curtis Yarvin
c94fd1b3df Various fixes and improvements. 2018-08-22 17:43:33 -07:00
Elliot Glaysher
b166a55792 Get the collections page displaying. Requires a second reload. 2018-08-21 14:13:58 -07:00
Elliot Glaysher
17e3279321 Merge remote-tracking branch 'cgyarvin/research-final' into ford-turbo 2018-08-20 15:43:46 -07:00
Curtis Yarvin
746c26a40a Eliminate de-cons optimization. 2018-08-20 15:32:44 -07:00
Elliot Glaysher
1f3456fc4d rewrite +soft to use +mule 2018-08-20 14:34:31 -07:00
Ted Blackman
8db97cd3b7 fix merge problems; turned off +test-vale-error until type system is fixed 2018-08-20 11:19:14 -07:00
Ted Blackman
6ba2cb46fd Merge remote-tracking branch 'cgy/ford-turbo-original' into ford-turbo 2018-08-20 10:32:44 -07:00
Curtis Yarvin
694a4de20e Merge commit 'e941f' into ford-turbo-original 2018-08-17 13:53:46 -07:00
Curtis Yarvin
45cdcbdbbd Porting work in progress. 2018-08-15 18:37:13 -07:00
Curtis Yarvin
fa9c4636f9 Merge branch 'research-tome' into ford-turbo-original 2018-08-15 16:48:37 -07:00
Elliot Glaysher
e804d0ff59 Create +jab:by which does +put and +get as mutation. 2018-08-15 14:06:24 -07:00
Ted Blackman
e941f76115 memoize +bran:ut 2018-08-08 14:23:36 -07:00
Curtis Yarvin
34855b68f2 Various fixes and improvements. 2018-08-07 13:35:02 -07:00
Curtis Yarvin
899e2ff9c9 Various fixes and improvements. 2018-07-29 18:19:29 -07:00
Curtis Yarvin
8d1cb514c3 Add =label=spec feature. 2018-07-21 12:19:33 -07:00
Curtis Yarvin
bc6ad0456d Some ?# cleanups. 2018-07-16 16:24:59 -07:00
Fang
5041937837 Add jet hint to ++swp. 2018-07-13 13:53:07 +02:00
Fang
64964ea2a9 Add ++sha to hoon.hoon, for correct byte-order SHA hashing. 2018-07-11 22:50:10 +02:00
Fang
c8514d5841 Add +=byts type.
Similar to octs, but for "normal" byte order as found in most @
except @t.
2018-07-11 20:49:11 +02:00
Fang
7b4eb67346 Add ++rev for reversing bloq order.
This is different from ++swp in that it turns leading zeroes into
trailing zeroes correctly, rather than ignoring them.
2018-07-11 20:47:23 +02:00
Curtis Yarvin
0f6077395b Basic ?# functionality tested. 2018-07-10 11:18:59 -07:00
Curtis Yarvin
24dc55ca95 +ar passes smoke test. 2018-07-09 17:57:56 -07:00
Curtis Yarvin
a5ce1b67f6 Without debug. 2018-07-06 09:58:55 -07:00
Curtis Yarvin
af10afba1e _ar texture matching. 2018-07-06 08:03:11 -07:00
Curtis Yarvin
7550b80b2d Add a spec to %tstr. 2018-06-21 16:44:35 -07:00
Fang
a9340d7d68 Add ++rev to bit arithmetic,
for reversing block order while accounting for leading zeroes.
2018-06-21 18:49:10 +02:00
Curtis Yarvin
75e0c66227 Resolved skin issues. 2018-06-18 19:45:38 -07:00
Curtis Yarvin
8b8ab69d00 Proper skin control, with some =/ issues. 2018-06-17 11:03:19 -07:00
Curtis Yarvin
472f753a1a More %kthx adaptation. 2018-06-15 14:18:22 -07:00
Curtis Yarvin
07e8e3029f Initial rind installation. 2018-06-15 10:37:57 -07:00
Curtis Yarvin
919fcdcd0f Add %kthx and +rind. 2018-06-07 14:37:16 -04:00
Curtis Yarvin
45831ad142 Support full toga on all sofas. 2018-06-04 15:30:03 -07:00
Curtis Yarvin
5bb8e6db95 Mild renamings. 2018-06-04 13:44:07 -07:00
Curtis Yarvin
737302a001 Resolve infinitely growing pill (~| in kernel) 2018-06-02 17:45:41 -07:00
Curtis Yarvin
2c2a680c57 Introduced +$ notation. 2018-06-01 14:31:10 -07:00
Curtis Yarvin
6be168d6a1 Latest +cosmetic in h.h. 2018-05-29 19:18:15 -07:00
Curtis Yarvin
2abfe9f211 Improved working chapters. 2018-05-29 14:14:05 -07:00
Curtis Yarvin
2c6aeb1ac2 Enforce chapter titles. 2018-05-29 00:00:07 -07:00
Curtis Yarvin
ddb0fc22f4 Chapter names for everyone. 2018-05-28 23:42:16 -07:00
Curtis Yarvin
3c3130c37d Chapters with stub names. 2018-05-28 22:21:44 -07:00
Curtis Yarvin
bcd76e4caa More renaming. 2018-05-27 13:01:04 -07:00
Curtis Yarvin
a29b22357d Some renaming and stuff. 2018-05-27 12:15:15 -07:00
Curtis Yarvin
a26105370b Old help totally cleaned out. 2018-05-24 15:39:56 -07:00
Curtis Yarvin
0037e50ec3 Merge branch 'research-unhelp' into research-tome 2018-05-22 23:44:09 -07:00
Curtis Yarvin
d54462885b Various fixes and improvements. 2018-05-22 23:43:56 -07:00
Curtis Yarvin
ecce70e799 Initial changes to remove fluff from arms. 2018-05-21 16:31:00 -07:00
Curtis Yarvin
3fc02131c6 Partly removed cruft from +tome. 2018-05-20 16:59:29 -07:00
Curtis Yarvin
ac996f7335 Now ignoring ash/elm in foot. 2018-05-20 16:06:53 -07:00
Curtis Yarvin
92925c1a4c Merge branch 'research-hosed' into research-unhelp 2018-05-20 13:23:24 -07:00
Curtis Yarvin
d15578859b Badly done. 2018-05-20 13:23:01 -07:00