Erik Arvidsson b79d89963f JS codegen: Add tests and make more things work (#1182)
Now the generated code is tested and most things work.



To generate a .noms.js file use the codegen go binary



Things that are not complete/needs improvements include:

- Recursive structs

- Structs with annonymous unions

- Enum -- constants for the values



Issue #1081
2016-04-07 14:11:40 -07:00
2016-02-08 23:15:09 -08:00
2016-02-08 23:15:09 -08:00
2016-03-29 16:41:26 -07:00

Noms

Noms is a content-addressable, append-only, peer-to-peer, structured data store.

In other words, noms is git for data.

This repository contains two reference implementations of the noms protocol - one in Go, and one in JavaScript. It also includes a number of tools and sample applications.

Prerequisites

Set environment variables

Get the code

mkdir -p $GOPATH/src/github.com/attic-labs
cd $GOPATH/src/github.com/attic-labs
git clone https://github.com/attic-labs/noms

Build

go install `go list ./... | grep -v /vendor/`
go test `go list ./... | grep -v /vendor/`

Run

cd "$GOPATH/src/github.com/attic-labs/noms/clients/counter"
go build
./counter -ldb=/tmp/foo -ds=foo
./counter -ldb=/tmp/foo -ds=foo
./counter -ldb=/tmp/foo -ds=foo

What next?

Description
Dolt – Git for Data
Readme Apache-2.0 409 MiB
Latest
2026-02-09 20:09:01 -06:00
Languages
Go 84.1%
Shell 15%
JavaScript 0.3%
Java 0.1%
Python 0.1%