edelweiss

所属分类:其他
开发工具:GO
文件大小:0KB
下载次数:0
上传日期:2023-08-17 09:17:03
上 传 者sh-1993
说明:  去中心化协议编译器,
(Decentralized Protocol Compiler,)

文件列表:
LICENSE (636, 2023-08-14)
LICENSE-APACHE (591, 2023-08-14)
LICENSE-MIT (1117, 2023-08-14)
blueprints/ (0, 2023-08-14)
blueprints/base/ (0, 2023-08-14)
blueprints/base/services.go (2353, 2023-08-14)
blueprints/base/values.go (3255, 2023-08-14)
blueprints/services/ (0, 2023-08-14)
blueprints/services/dagjson-over-http/ (0, 2023-08-14)
blueprints/services/dagjson-over-http/client.go (10126, 2023-08-14)
blueprints/services/dagjson-over-http/http.go (94, 2023-08-14)
blueprints/services/dagjson-over-http/server.go (9407, 2023-08-14)
blueprints/values/ (0, 2023-08-14)
blueprints/values/call.go (4562, 2023-08-14)
blueprints/values/inductive.go (6934, 2023-08-14)
blueprints/values/link.go (3279, 2023-08-14)
blueprints/values/list.go (3754, 2023-08-14)
blueprints/values/map.go (4151, 2023-08-14)
blueprints/values/return.go (4603, 2023-08-14)
blueprints/values/singleton.go (6235, 2023-08-14)
blueprints/values/structure.go (7203, 2023-08-14)
blueprints/values/union.go (8434, 2023-08-14)
codegen/ (0, 2023-08-14)
codegen/blueprint.go (2826, 2023-08-14)
codegen/build.go (269, 2023-08-14)
codegen/codegen.go (595, 2023-08-14)
codegen/file.go (2099, 2023-08-14)
codegen/file_test.go (654, 2023-08-14)
codegen/stmt.go (2697, 2023-08-14)
codegen/types.go (1019, 2023-08-14)
compile/ (0, 2023-08-14)
compile/compile.go (2688, 2023-08-14)
... ...

# Edelweiss: Decentralized Protocol Compiler Edelweiss is a code-generating compiler. Currently, it supports: - a comprehensive type system for modeling data - service and method definitions - Go language code-generation of data types and associated fast, static encoders and decoders to and from the IPLD data model - Go language code-generation of RPC services based on a DAGJSON-over-HTTP networking stack - the ability to rapidly add user-defined code-generating backends for custom RPC networking stacks For a detailed longer-term roadmap and planned features refer to the [Protocol Compiler Roadmap 2022](https://github.com/ipld/edelweiss/blob/master/doc/roadmap.md). # Documentation The current state of the language and how to use the compiler is covered in the [Edelweiss for users](https://github.com/ipld/edelweiss/blob/master/doc/manual-milestone1-slides/manual-milestone1-slides.pdf) slides. Examples of the canonical representation of Edelweiss types are provided in [Representations of types](https://github.com/ipld/edelweiss/blob/master/doc/representations.md). A [complete working example](https://github.com/ipld/edelweiss/blob/master/examples/greeting-service/) — which defines a greeting service API, and implements a sample client and server cli tools — is provided in this repo. The [resulting generated code](https://github.com/ipld/edelweiss/blob/master/examples/greeting-service/api/proto/proto_edelweiss.go) is also included in the repo for your viewing convenience. # Projects using Edelweiss Currently, Edelweiss is in the process of being onboarded as the [RPC framework for the Delegated Routing API](https://github.com/ipld/edelweiss/blob/master/https://github.com/ipfs/go-delegated-routing/pull/11) of IPFS and Hydra nodes.

近期下载者

相关文件


收藏者