Skip to content

alan-deronyan/dwim

This branch is 9 commits ahead of deronyan-llc/dwim:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

53f8021 · Mar 23, 2024

History

40 Commits
Feb 16, 2024
Nov 12, 2023
Feb 16, 2024
Feb 7, 2024
Feb 13, 2024
Feb 13, 2024
Mar 23, 2024
Feb 15, 2024
Dec 15, 2023
Feb 14, 2024
Feb 14, 2024
Feb 14, 2024
Feb 15, 2024
Feb 13, 2024
Feb 13, 2024

Repository files navigation

DWIM

About

DWIM is a suite of tools, currently targeted at developers, to facilitate code generation from a semantic model.

Essentially, this is a low-code framework for defining data structures, API's, and interfaces from a declarative model, acting as the source of truth. This alleviates several pain points in the development cycle of services and data structures which evolve over time...

  1. Backwards-compatible changes
  2. Schema consistency between API's and data structures

Code Generation

General args for generating code from input schemas

$ go run cmd/dwim/main.go <input-dir> <output-dir>

<input-dir> is the input directory where schemas to be translated into code exist

<output-dir> is where the generated code will live

Examples

Generate GoLang structs from the built-in DWIM schemas for ERC-721 tokens, and Ethereum Core concepts

$ go run cmd/dwim/main.go schemas/dwim gen/schemas/DWIM

Parsing RDF schema for file(erc_721.ttl)
Parsing RDF schema for file(eth_core.ttl)

When done, the files in gen/schemas/dwim will be updated (if needed), to reflect the current state of the input path provided schemas/dwim

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 84.5%
  • Python 8.1%
  • Shell 3.8%
  • Makefile 3.6%