Convert Zig programming language to a Lisp representation of Zig
pip install -e git+https://github.com/andydude/zig2lisp.git@main#egg=zig2lisp
zig2lisp t/hello_world.zig
The following file can be found in t/hello_world.zig
const std = @import("std");
pub fn main() void {
std.debug.print("Hello, World!\n", .{});
}
To convert it to a Lisp representation, just run the following
$ zig2lisp t/hello_world.zig
(zig:members
(zig:const std (@import "std"))
(zig:fn main #() void
((zig:dot std debug print)
"Hello, World!\n"
(zig:dot #()))))