Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/rupurt/utc
- Owner: rupurt
- License: mit
- Created: 2024-02-19T20:08:59.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-02-29T00:31:51.000Z (9 months ago)
- Last Synced: 2024-10-10T14:38:56.831Z (about 1 month 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)