protobuf

Check-in [216ffb08b7]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:imported v1.0.1
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | v1.0.1
Files: files | file ages | folders
SHA3-256:216ffb08b766d06088264634bcc4165629e253c9f179042ff1fb7d90bb3d2ee2
User & Date: murphy 2018-08-18 20:03:55
Context
2018-08-18
20:05
imported v1.1.0 check-in: a07d1893c3 user: murphy tags: trunk, v1.1.0
20:03
imported v1.0.1 check-in: 216ffb08b7 user: murphy tags: trunk, v1.0.1
20:02
imported v1.0.0 check-in: 8e6feddb96 user: murphy tags: trunk, v1.0.0
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to protobuf.scm.

47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
   srfi-4 (only srfi-18 raise) srfi-42 srfi-4-comprehensions
   ports extras
   numbers)
  (include "encoding.scm"))

(module protobuf-reflection
  (type-info
   make-type-info type-info?
   type-info-name
   primitive-info
   make-primitive-info primitive-info?
   primitive-info-type
   primitive-info-reader primitive-info-writer
   enum-info
   make-enum-info enum-info?







|







47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
   srfi-4 (only srfi-18 raise) srfi-42 srfi-4-comprehensions
   ports extras
   numbers)
  (include "encoding.scm"))

(module protobuf-reflection
  (type-info
   type-info?
   type-info-name
   primitive-info
   make-primitive-info primitive-info?
   primitive-info-type
   primitive-info-reader primitive-info-writer
   enum-info
   make-enum-info enum-info?

Changes to protobuf.setup.

8
9
10
11
12
13
14
15
16
17
18
19
20
21




22
(install-extension
 'protobuf
 '("protobuf.so"
   "protobuf-encoding.import.so"
   "protobuf-reflection.import.so"
   "protobuf-syntax.import.so"
   "protobuf.import.so")
 '((version "1.0.0")))

(compile -O2 -d1 "protoc-gen-chicken.scm")

(install-program
 'protoc-gen-chicken
 '("protoc-gen-chicken")




 '((version "1.0.0")))







|





|
>
>
>
>
|
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
(install-extension
 'protobuf
 '("protobuf.so"
   "protobuf-encoding.import.so"
   "protobuf-reflection.import.so"
   "protobuf-syntax.import.so"
   "protobuf.import.so")
 '((version "1.0.1")))

(compile -O2 -d1 "protoc-gen-chicken.scm")

(install-program
 'protoc-gen-chicken
 `("protoc-gen-chicken"
   ("extend/protobuf/bigint.proto"
    ,(make-pathname
      (list (installation-prefix) "include/extend/protobuf")
      "bigint.proto")))
 '((version "1.0.1")))

Changes to reflection.scm.

20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
;; NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
;; BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
;; ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
;; CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
;; SOFTWARE.

(define-record-type type-info
  #t #t
  name)

(define-record-type (primitive-info type-info)
  #t #t
  type reader writer)

(define-record-printer (primitive-info v port)







|







20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
;; NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
;; BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
;; ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
;; CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
;; SOFTWARE.

(define-record-type type-info
  #f #t
  name)

(define-record-type (primitive-info type-info)
  #t #t
  type reader writer)

(define-record-printer (primitive-info v port)