summaryrefslogtreecommitdiff
path: root/src/zisp/io/read.zig
blob: 5fa647e9c7fe76094977b3277707033ba40fd21f (plain)
1
2
3
4
5
6
7
8
9
10
const std = @import("std");

const parse = @import("parse.zig");
const decode = @import("decode.zig");

const Value = @import("../value.zig").Value;

pub fn fromReader(reader: *std.Io.Reader) Value {
    return decode.decode(parse.fromReader(reader));
}