We are a small group of people, more or less regularly meeting each other at the Hackergarten in Lucerne.
We choose to implement a clojure library for the Google Protocol Buffer. There is already an existing clojure library. Despite this, we are working on our own version for the following reasons:
- So far no project member ever did something in Clojure. For us, it is an easy enough project to learn Clojure. Therefore don't expect anything from our solution.
- The existing implementation seems no to be Clojure-like enough. Calling a tool first, for the conversion of the *.proto files, written in C, doesn't feel clojure-eseque enough. This feeling may be inadequate, but are based on the following thoughts:
- Using Protocol Buffer in the REPL should be as easy as possible.
- Creating a dynamic webpage which allows to play around with Protocol Buffers, whould be easy either.
Convert text reperesentation to binary representation:
protoc.exe simple.proto --encode=Person < simple.txt
Convert text reperesentation to binary representation:
protoc.exe simple.proto --decode=Person < simple.bin