ktakashi / r6rs-protobuf Goto Github PK
View Code? Open in Web Editor NEWForked from code.google.com/p/r6rs-protobuf
License: GNU General Public License v3.0
Forked from code.google.com/p/r6rs-protobuf
License: GNU General Public License v3.0
What steps will reproduce the problem?
1. Download r6rs-protobufy
2. make a file rethink-scheme.scm with:
;; Copyright Marcelo Costa Toyama - [email protected] 2013
(import (protobuf compile))
;(define proto (protoc:read-proto (open-input-file "ql2.proto")))
;(protoc:generate-libraries proto)
3. run ./ypislon or plt-r6rs (racket).
What is the expected output? What do you see instead?
The following error appears
root@debian:~/rethink-scheme# ./ypsilon --sitelib="." rethink-scheme.scm
error in library: attempt to export unbound identifier
protobuf:field-type-message
> (export protobuf:make-field-type-descriptor
protobuf:field-type-descriptor-default
protobuf:field-type-descriptor-name
protobuf:field-type-descriptor-predicate
protobuf:field-type-descriptor-wire-type
...
..."/root/rethink-scheme/protobuf/private.scm" line 20
What version of the product are you using? On what operating system?
I am using
r6rs-protobuf-0.6.tar.gz
Debian jessie (debian testing).
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 17 Oct 2013 at 2:34
The parser and code generator should support enums and messages as field types.
Original issue reported on code.google.com by [email protected]
on 31 Mar 2011 at 3:14
Repeated fields should be supported by the code generator and serialization
system.
Original issue reported on code.google.com by [email protected]
on 31 Mar 2011 at 3:11
...as per the protocol buffer wire protocol description.
Original issue reported on code.google.com by [email protected]
on 31 Mar 2011 at 3:17
What steps will reproduce the problem?
1. Set a default option on a field definition
2. Build a message without setting a value for the field
What is the expected output? What do you see instead?
The field should have the specified value in the builder and resulting message;
no value is set.
Original issue reported on code.google.com by [email protected]
on 20 May 2011 at 3:25
Implement such that they produce qualified type names during code generation.
Original issue reported on code.google.com by [email protected]
on 9 Apr 2011 at 3:03
I found something wrong when I use 'Person-read' as the tutorial in
r6rs-protobuf site.
Here is the code:
-------------------------code-----------------------
...
(define pb (make-Person-builder))
(set-Person-builder-id! pb 1)
(set-Person-builder-name! pb "nalaginrut")
(set-Person-builder-email! pb "[email protected]")
(call-with-output-file "person.out"
(lambda (port)
(Person-write person port)))
(define person (Person-builder-build pb))
;; So far so good!
(define person2 (Person-read (open-input-file "person.out")))
(Person-id person2)
==> "[email protected]"
;; hmm?
(Person-email person2)
==> 1
(Person-name person2)
==> "nalaginrut"
Original issue reported on code.google.com by [email protected]
on 25 Jan 2013 at 3:08
Implement as per the protocol buffer definition language specification.
Original issue reported on code.google.com by [email protected]
on 9 Apr 2011 at 3:09
What steps will reproduce the problem?
1. Create a protobuf with a message type field
2. Attempt to deserialize a serialized form of the message
3.
What is the expected output? What do you see instead?
Unpredictable corruption, particular in determining the types and contents of
fields in the embedded message and in fields that come after it.
Please use labels and text to provide additional information.
The length prefix of the messages field is not being consumed.
Original issue reported on code.google.com by [email protected]
on 1 Apr 2014 at 2:38
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.