- 29 Jul, 2015 1 commit
-
-
Kenton Varda authored
Example: const data :Data = embed "some-file.dat"; Files are looked up the same way an import would be. You can use embed when Data or Text is expected. You can also use it when a struct type is expected -- the file will be interpreted as a message using standard binary serialization.
-
- 28 Nov, 2014 1 commit
-
-
Kenton Varda authored
-
- 31 Oct, 2014 1 commit
-
-
Philip Quinn authored
-
- 20 Oct, 2014 1 commit
-
-
Kenton Varda authored
More refactoring is needed, but this at least makes "using" aliases work correctly with generics.
-
- 17 Oct, 2014 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
- 11 Oct, 2014 1 commit
-
-
Kenton Varda authored
-
- 20 Jun, 2014 1 commit
-
-
Kenton Varda authored
For portions currently copyright by Kenton (most of it), transfer copyright to Sandstorm Development Group, Inc. (Kenton's company). The license change is practically meaningless, as MIT and BSD 2-clause are legally equivalent. However, the BSD 2-clause license is sometimes confused for its ugly siblings, BSD 3-clause and BSD 4-clause. The MIT license is more immediately recognizeable for what it is. Rémy Blank and Jason Choy (the two non-trivial contributors) are on record as approving this change: https://groups.google.com/d/msg/capnproto/xXDd2HUOCcc/gbe_COIuXKYJ
-
- 25 Jan, 2014 1 commit
-
-
Kenton Varda authored
-
- 04 Dec, 2013 1 commit
-
-
Kenton Varda authored
-
- 30 Nov, 2013 4 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
- 14 Nov, 2013 1 commit
-
-
Kenton Varda authored
Remove 'has' for primitive fields. Dynamic version always returns true. This also means that primitives are always included in text format, even if they are default-valued.
-
- 02 Oct, 2013 1 commit
-
-
Kenton Varda authored
Interface code generation. Also update method grammar to allow multiple returns, and allow specifying request/response structs instead of parameter lists.
-
- 29 Sep, 2013 1 commit
-
-
Kenton Varda authored
Extend interface grammar to support inheritance, and update compiler to properly compile interfaces.
-
- 02 Sep, 2013 1 commit
-
-
Kenton Varda authored
Fix bug where only the first import made it into the import table. Can't believe this wasn't tested. Sigh.
-
- 30 Aug, 2013 1 commit
-
-
Kenton Varda authored
Fix obscure bug where allocating an empty struct causes trouble. For reasons I don't yet fully understand, this actually caused a crash on 32-bit OSX builds (but not 64-bit, nor 32-bit Linux).
-
- 28 Aug, 2013 3 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
Rename non-group again, now to 'slot', which is much nicer. Also introduce fixed lists as a third kind of field (but not implemented yet).
-
Kenton Varda authored
-
- 23 Aug, 2013 1 commit
-
-
Kenton Varda authored
-
- 22 Aug, 2013 3 commits
-
-
Kenton Varda authored
New method isFoo() exists for union fields only and returns true if foo is the active union field.
-
Kenton Varda authored
-
Kenton Varda authored
-
- 21 Aug, 2013 3 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
- 20 Aug, 2013 1 commit
-
-
Kenton Varda authored
-
- 19 Aug, 2013 1 commit
-
-
Kenton Varda authored
-
- 12 Aug, 2013 1 commit
-
-
Kenton Varda authored
-
- 09 Aug, 2013 1 commit
-
-
Kenton Varda authored
Switch to the new compiler. All tests pass\! Need to submit bootstrap copies of the generated code used by the compiler itself. These bootstrap copies are still built by the old compiler at the moment.
-
- 06 Aug, 2013 1 commit
-
-
Kenton Varda authored
Arrange for compiler to send to the code generator the complete contents of all files listed on the command line, all first-level dependencies of those files, and parent scopes of those dependencies, but nothing more. This means it's sometimes possible to compile a schema file without parsing all transitive dependencies. Also, in 'decode' mode, don't compile annotations, so that the files defining those annotations need not be opened at all.
-
- 04 Aug, 2013 1 commit
-
-
David Renshaw authored
-
- 03 Aug, 2013 1 commit
-
-
Kenton Varda authored
Refactor compiler binary into a multi-tool with sub-commands like 'compile' and 'decode'. The latter dynamically decodes binary input to text based on a provided schema file.
-
- 02 Aug, 2013 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
Fix compiler bugs. Now test.capnp compiles to an identical schema to the old Haskell compiler, minus intentional changes.
-
- 01 Aug, 2013 2 commits
-
-
Kenton Varda authored
Compiler actually running plugins! Hooked it up to capnpc-capnp (the loopback plugin). Working on getting the output identical to the old capnpc... still a few bugs left.
-
Kenton Varda authored
Add utility code for really nice command-line option parsing and start using it in the compiler (still WIP).
-