Commit Graph

205 Commits

Author SHA1 Message Date
joshuareagan
a36b2a010e remove hold 2018-12-06 13:38:33 -06:00
joshuareagan
ee483875bc removed more superfluous lines 2018-12-06 02:15:18 -06:00
joshuareagan
a9e760edb5 removed superfluous lines 2018-12-06 02:00:35 -06:00
joshuareagan
2769cb2ac9 using u3x functions 2018-12-06 01:01:27 -06:00
Joshua Reagan
def6538c08
braces constants 2018-12-05 23:48:09 -06:00
joshuareagan
3c4e85fcee added shape checks 2018-12-05 23:37:23 -06:00
joshuareagan
cfca39542f type variance bug fix 2018-12-05 22:24:44 -06:00
Joshua Reagan
2f8d0d6d34
fix core nest mismatch
There is a variance bug such that the following cast is allowed to go through:

```
> =a 12

> =core1 ^?  |=(b=@ a)

> =a "hello"

> =core2 ^?  |=(b=@ a)

> ^+(core1 core2)
```

This should not be!  The code in `hoon.hoon` is correct -- it turns out that the jet is wrong however.  It falsely returns "yes" for a nest in which two cores have identical code.  Obviously that's not enough to guarantee sameness of type.  So I've removed the offending lines.
2018-11-30 22:11:08 -06:00
Joshua Reagan
e62acfa1bc
remove superfluous reference decrements 2018-11-29 18:52:47 -06:00
joshuareagan
ab455736e9 variance fix: calling lead, zinc gates 2018-11-29 12:42:47 -06:00
Joshua Reagan
5911cb10c6
Merge pull request #1045 from urbit/joshuareagan-patch-3
zinc gate casting bug
2018-10-31 20:32:04 -05:00
Joshua Reagan
aadd95bf98
zinc gate casting bug
Casting with a `^&` rune example fails because of a minor jet typo:

```
> ^+(^&(|=(@ 15)) |=(@ 15))
-gene.[%ktpd %brts [%base %atom 0] %sand %ud 15]
play-open-z
ford: %slim failed: 
ford: %ride failed to compute type:
```

The above cast should go through.  This fix makes that happen.
2018-10-31 16:40:37 -05:00
Joshua Reagan
0a7d338553
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 14:02:17 -05:00
Joshua Reagan
a8fbd49864
converting iron and zinc cores to lead bug
In the current release candidate, this happens:

```
> ^?(^|(add))
wrap-gold
ford: %slim failed: 
ford: %ride failed to compute type:
```

This is a jet mismatch from `+wrap`, I believe:

https://github.com/urbit/arvo/blob/release-candidate/sys/hoon.hoon#L11139

You should be able to convert iron and zinc cores to lead.
2018-10-25 17:34:49 -07:00
Joe Bryan
b21b1c6fe1 WIP Merge remote-tracking branch 'fodwyt/edit' into nock-4k
* fodwyt/edit:
  mutating edit
  bail in _n_edit on invalid path
  avoid allocating an atom for _cj_bash
  bypass mat and chop directly in jam
  small memory leak for large edits
  disable hike jet, kill errant and unneccessary mutate-context-sample opcodes
  bugfixes
  first pass at nock 12 impl
2018-10-10 19:50:13 -04:00
Joe Bryan
8f42a29933 5. removes %13 and %14 (nock 4K) 2018-10-10 19:26:50 -04:00
Joe Bryan
c3ca5c24b6 4. emits %11 and %12 (nock 4K) 2018-10-10 18:44:17 -04:00
Joe Bryan
4d6950d68a 3. implements hint at %11 and wish at %12 (nock 4K) 2018-10-10 18:40:13 -04:00
Joe Bryan
f64b5c8f80 2. removes %10 and %11 (nock 4K) 2018-10-10 18:16:07 -04:00
Joe Bryan
82c89c1696 1. duplicates hint (%10) and wish (%11) at %13 and %14 (nock 4K) 2018-10-10 17:59:50 -04:00
Joe Bryan
f0524c23f0 Merge branch 'release-candidate' into hashboard
* release-candidate: (138 commits)
  adds meson option (-Dprof=true) to set U3_CPU_DEBUG
  adds meson option (-Dgc=true) to set U3_MEMORY_DEBUG
  refactors http card validation
  fixes leak in proxy when networking is disabled
  fixes leak in _http_serv_start_all
  bypassed profiling bug
  Eliminate cons optimization.
  Remove broken assert.
  Clean up some printfs.
  increases tcp proxy listener timeout to 2 minutes
  fixes dumb bug in tcp reverse proxy remote address resolution
  Fix issue with trimming >4 character jet names
  upgrades libh2o to v0.13.5 (h2o v2.2.5)
  sets the http client request timeout to 2 minutes
  adds an http request timer to ensure connections are always closed
  adds an http request timer to ensure connections are always closed
  adds (disabled) h2o access log
  don't leak ship-name in _proxy_ward_connect()
  refactors .http.ports write/release (avoid the loom, etc.)
  updates SSL_CTX init to support any PEM private key, simplifies error handling
  ...
2018-10-02 18:25:41 -04:00
Curtis Yarvin
68fc04e619 Eliminate cons optimization. 2018-08-20 15:31:43 -07:00
Curtis Yarvin
e530f02111 Remove broken assert. 2018-08-19 16:05:28 -07:00
Curtis Yarvin
c910827cd7 Clean up some printfs. 2018-08-07 13:34:46 -07:00
Curtis Yarvin
d5ae5c4efa Passes smoke test. 2018-07-09 17:35:13 -07:00
Curtis Yarvin
7a48d012f6 Initial draft of modern fishing. 2018-07-09 15:37:27 -07:00
Curtis Yarvin
e820f2b995 Add a spec to %tstr. 2018-06-21 16:44:53 -07:00
Curtis Yarvin
ad1b3ad162 Proper skin control, with some =/ issues. 2018-06-17 11:03:42 -07:00
Paul Driver
61f9a39f35 disable hike jet, kill errant and unneccessary mutate-context-sample opcodes 2018-06-11 15:04:49 -07:00
Curtis Yarvin
f01bce3582 More renaming. 2018-05-27 13:00:55 -07:00
Curtis Yarvin
b089420cea Some renaming and stuff. 2018-05-27 12:16:13 -07:00
Curtis Yarvin
7a9a9047c3 Old help totally cleaned out. 2018-05-24 15:40:28 -07:00
Curtis Yarvin
fde39c38e8 Now ignoring ash/elm in foot. 2018-05-20 16:07:28 -07:00
Curtis Yarvin
5e55e48f3b Adjusted %brcn to support core name. 2018-05-20 12:34:38 -07:00
Curtis Yarvin
2857861fd8 New hinting system. 2018-05-02 15:11:06 -07:00
Paul Driver
be8c56376d hook caching in, kink weirdness fixed 2018-04-26 16:36:29 -07:00
Curtis Yarvin
63ea041ecf Renamed %form to %hint. 2018-04-24 22:29:31 -07:00
Curtis Yarvin
a2e2dee3db Finish integrating %form in +type. 2018-04-24 21:57:54 -07:00
C. Guy Yarvin
b59aa59951 Support %form. 2018-03-26 16:58:51 -07:00
C. Guy Yarvin
c0d108d745 Add !@. 2018-03-20 09:41:54 -07:00
C. Guy Yarvin
d90d0327e2 Change %bunt to %bcdt. 2018-03-13 19:57:53 -07:00
C. Guy Yarvin
55e895036c Eliminate old-fashioned burn. 2018-03-10 20:57:02 -08:00
C. Guy Yarvin
76d3f2e897 ++burp to eliminate seminoun frame dragging. 2018-02-26 15:54:33 -08:00
C. Guy Yarvin
4ae78dafb0 Fully adapted to seminouns in ++coil. 2018-02-19 17:24:16 -08:00
C. Guy Yarvin
984b917a9b Fully disengaged jets from core assembly. 2018-02-19 13:05:19 -08:00
C. Guy Yarvin
9aa0743df1 Move core assembly back to pure Hoon -- requires 8d101aaf21. 2018-02-18 17:53:35 -08:00
C. Guy Yarvin
37384be9a7 Support experimental macros with fab. 2018-01-31 15:57:43 -08:00
C. Guy Yarvin
dfe9265576 Support experimental bit in ++ap and ++al. 2018-01-29 18:58:36 -08:00
C. Guy Yarvin
44f22dd143 Remove unused code. 2018-01-15 18:24:11 -08:00
Paul Driver
d15601a54d fix jet crash in fond 2017-12-19 12:55:11 -08:00