Erik Arvidsson
1a4bdae624
Make types.Ref explicit
...
No more implicit Get or Equals
2015-09-18 14:03:19 -04:00
Chris Masone
5de698b8f1
Add Unmarshal and Marshal
...
Unmarshal and Marshal are tools for moving data from Noms into native Go and
back. The rules are described in the documentation of the two functions, but
the behavior is broadly similar to encoding/json.
Towards issue #160
2015-08-26 09:27:58 -07:00
Chris Masone
1bd5af910a
Add support for int8/uint8
...
It turns out that having these makes marshaling native go to and from noms
cleaner.
Towards issue #160
2015-08-17 13:44:50 -07:00
Aaron Boodman
214b37eccf
Remove global imports of dbg package
...
Fixes #179
2015-08-08 23:57:37 -07:00
Aaron Boodman
7944c1b3af
Revert "Make WriteValue return a "skinny" copy of input value"
2015-07-30 09:23:35 -07:00
Aaron Boodman
a84893c0d8
Make WriteValue return a "skinny" copy of input value
...
Fixes #141
2015-07-29 16:06:54 -07:00
Chris Masone
4fe00d4f81
Address aa's comments
...
- Return factory methods to privacy
- use tighter syntax inside Chunks() methods
- Rename Futures() -> Chunks()
2015-07-23 15:32:38 -07:00
Chris Masone
a560139d73
Make types.future public
...
This will enable us to walk the chunk graph without having to go
through weird contortions to figure out which values don't have
chunks in any chunkstore (because they were inlined).
Towards issue #82
2015-07-23 15:32:26 -07:00
Erik Arvidsson
3fdc008f5c
Codegen: Add support for noms types
...
This makes it possible to do a List of Bool or Map of Int32 etc
2015-07-22 12:24:27 -07:00
Aaron Boodman
82a87d548c
Use go generate instead of custom thing for generating primitives
2015-07-10 10:39:31 -07:00
Aaron Boodman
53003f23f2
Add Value::Ref()
2015-06-12 15:22:27 -07:00
Aaron Boodman
f973bb6536
Add documentation about codegen
2015-06-02 23:41:26 -07:00
Aaron Boodman
228186dfee
Add noms/primitives.go and relatedness
2015-06-02 23:34:51 -07:00