- 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.
-
- 22 Nov, 2014 1 commit
-
-
Kenton Varda authored
This prevents the compiler from reporting warnings in these headers while compiling application code. Hopefully this will stem the never-ending stream of complaints from people who enable pedantic warnings.
-
- 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
-
- 03 May, 2014 1 commit
-
-
Kenton Varda authored
Add loadCompiledTypeAndDependencies() to SchemaParser so that compiled constants can be cast to static types.
-
- 30 Nov, 2013 1 commit
-
-
Kenton Varda authored
-
- 21 Aug, 2013 1 commit
-
-
Kenton Varda authored
-
- 19 Aug, 2013 1 commit
-
-
Kenton Varda authored
-
- 14 Aug, 2013 1 commit
-
-
Kenton Varda authored
-
- 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 1 commit
-
-
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 1 commit
-
-
Kenton Varda authored
Add utility code for really nice command-line option parsing and start using it in the compiler (still WIP).
-
- 30 Jul, 2013 1 commit
-
-
Kenton Varda authored
-
- 26 Jul, 2013 1 commit
-
-
Kenton Varda authored
-
- 25 Jul, 2013 1 commit
-
-
Kenton Varda authored
-