https://github.com/rupurt/utc
The universal transpiler collection
https://github.com/rupurt/utc
Last synced: about 1 year ago
JSON representation
The universal transpiler collection
- Host: GitHub
- URL: https://github.com/rupurt/utc
- Owner: rupurt
- License: mit
- Created: 2024-02-19T20:08:59.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-29T00:31:51.000Z (over 2 years ago)
- Last Synced: 2025-06-15T10:02:01.890Z (about 1 year ago)
- Language: Zig
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)