- 07 Aug, 2013 1 commit
-
-
Kenton Varda authored
Pull TextBlob out of capnpc-capnp and into KJ as kj::StringTree. Use it in the stringification code to make that code cleaner and avoid using iostreams.
-
- 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.
-
- 03 Aug, 2013 2 commits
-
-
Kenton Varda authored
Update Makefile.am to build new compiler. Not bootstrapping yet, of course, since the C++ output plugin is not written.
-
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 3 commits
-
-
Kenton Varda authored
-
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).
-
- 30 Jul, 2013 1 commit
-
-
Kenton Varda authored
-
- 26 Jul, 2013 1 commit
-
-
Kenton Varda authored
-
- 25 Jul, 2013 1 commit
-
-
Kenton Varda authored
-
- 23 Jul, 2013 3 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
Futex-based mutex and once-init implementations for Linux. These are measurably faster -- and much smaller -- than the pthread-based implementations.
-
- 20 Jul, 2013 3 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
- 19 Jul, 2013 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
- 18 Jul, 2013 3 commits
-
-
Kenton Varda authored
Allow SchemaLoader to use a callback to lazily load schema nodes, including dependencies of loaded nodes.
-
Kenton Varda authored
-
Kenton Varda authored
-
- 17 Jul, 2013 1 commit
-
-
Kenton Varda authored
Implement mutex and once-init synchronization primitives. Wrap pthreads for now, but plan on raw futexes later.
-
- 16 Jul, 2013 1 commit
-
-
Kenton Varda authored
Complete C++ .capnp parser. Also, add a pretty-printing function for arbitrary Cap'n Proto objects which is like the existing stringification but uses whitespace (newlines an indentation) to make the structures more readable.
-
- 13 Jul, 2013 1 commit
-
-
Kenton Varda authored
-
- 12 Jul, 2013 1 commit
-
-
Kenton Varda authored
-
- 10 Jul, 2013 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
- 09 Jul, 2013 1 commit
-
-
Kenton Varda authored
-
- 03 Jul, 2013 3 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
- 02 Jul, 2013 3 commits
-
-
Kenton Varda authored
Discarding version of char parsers. Also, many() should return a count rather than an array if sub-parsers have empty results.
-
Kenton Varda authored
-
Kenton Varda authored
-
- 26 Jun, 2013 1 commit
-
-
Kenton Varda authored
-
- 17 Jun, 2013 1 commit
-
-
Kenton Varda authored
-
- 15 Jun, 2013 1 commit
-
-
Kenton Varda authored
-
- 14 Jun, 2013 1 commit
-
-
Kenton Varda authored
-