Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rupurt/utc

The universal transpiler collection
https://github.com/rupurt/utc

Last synced: 21 days ago
JSON representation

The universal transpiler collection

Awesome Lists containing this project

README

        

# utc

The universal transpiler collection

## Usage

1. Add `utc` as a dependency in your `build.zig.zon`
```zig
.{
.name = "",
.version = "",
.dependencies = .{
.zodbc = .{
.url = "https://github.com/rupurt/utc/archive/.tar.gz",
.hash = "",
},
},
}
```

Set `` to `12200000000000000000000000000000000000000000000000000000000000000000`, and Zig will provide the correct found value in an error message.

2. Add `utc` as a dependency module in your `build.zig`
```zig
// ...
const utc_dep = b.dependency("utc", .{ .target = target, .optimize = optimize });
exe.root_module.addImport("utc", zodbc_dep.module("utc"));
```

## Development

```shell
> nix develop -c $SHELL
```

```shell
> make
```

```shell
> make test
```

```shell
> make run
```

```shell
> make clean
```

```shell
> make build
```

```shell
> make exec
```

# License

`utc` is released under the [MIT license](./LICENSE)