A json5 parser for luajit

Overview

Json5 parser for luajit

This crate provides json5 deserialization for luajit.

Inspired and adapted from json5-rs

NOTE: When compiling for macos, please add this to your $CARGO_HOME/config per this article (which also inspired this project):

[target.x86_64-apple-darwin]
rustflags = [
    "-C", "link-arg=-undefined",
    "-C", "link-arg=dynamic_lookup",
]

[target.aarch64-apple-darwin]
rustflags = [
    "-C", "link-arg=-undefined",
    "-C", "link-arg=dynamic_lookup",
]

Also, if you haven't already, add ';?.dylib' to your package.cpath so it will be recognized by the interpreter.

Usage

You can simply require the module in your scripts and parse a string using the parse method:

local parse = require'json5'.parse
local data = [[
{
    /* This is a comment */
    ecma_identifier: 'works like a charm',
    "string keys": [1,2,3], // trailing comma
}
]]
local parsed_data = parse(data)

Use with neovim

You must have cargo installed and in your $PATH

Using packer.nvim:

use {
    'Joakker/lua-json5',
    run = './install.sh'
}

Performance

Tested on neovim using the following script:

local data = [[ {"hello":"world"} ]]
local json5 = require('json5').parse
local json_decode = vim.fn.json_decode

local time_json5, time_json_decode = 0, 0

local aux

for _ = 1, 1000 do
    aux = os.clock()
    json5(data)
    time_json5 = time_json5 + (os.clock() - aux)
end

for _ = 1, 1000 do
    aux = os.clock()
    json_decode(data)
    time_json_decode = time_json_decode + (os.clock() - aux)
end

print(('json5:        %.3fms'):format(time_json5))
print(('json_decode:  %.3fms'):format(time_json_decode))

On average:

json5:        0.023ms
json_decode:  0.010ms

So, why should I use this instead of the builtin json_decode?

If performance is your concern, I think you're better off using the builtin function json_decode. The advantage this package has over regular json, however, is that you get json5 features, such as comments, trailing commas and more flexible string literals.

You might also like...
Docopt for Rust (command line argument parser).

THIS CRATE IS UNMAINTAINED This crate is unlikely to see significant future evolution. The primary reason to choose this crate for a new project is if

JSON parser which picks up values directly without performing tokenization in Rust
JSON parser which picks up values directly without performing tokenization in Rust

Pikkr JSON parser which picks up values directly without performing tokenization in Rust Abstract Pikkr is a JSON parser which picks up values directl

A XML parser written in Rust

RustyXML Documentation RustyXML is a namespace aware XML parser written in Rust. Right now it provides a basic SAX-like API, and an ElementBuilder bas

A CSV parser for Rust, with Serde support.

csv A fast and flexible CSV reader and writer for Rust, with support for Serde. Dual-licensed under MIT or the UNLICENSE. Documentation https://docs.r

High-performance browser-grade HTML5 parser

html5ever API Documentation html5ever is an HTML parser developed as part of the Servo project. It can parse and serialize HTML according to the WHATW

A native Rust port of Google's robots.txt parser and matcher C++ library.

robotstxt A native Rust port of Google's robots.txt parser and matcher C++ library. Native Rust port, no third-part crate dependency Zero unsafe code

Rust parser combinator framework

nom, eating data byte by byte nom is a parser combinators library written in Rust. Its goal is to provide tools to build safe parsers without compromi

url parameter parser for rest filter inquiry
url parameter parser for rest filter inquiry

inquerest Inquerest can parse complex url query into a SQL abstract syntax tree. Example this url: /person?age=lt.42&(student=eq.true|gender=eq.'M')&

Parsing Expression Grammar (PEG) parser generator for Rust

Parsing Expression Grammars in Rust Documentation | Release Notes rust-peg is a simple yet flexible parser generator that makes it easy to write robus

A fast monadic-style parser combinator designed to work on stable Rust.

Chomp Chomp is a fast monadic-style parser combinator library designed to work on stable Rust. It was written as the culmination of the experiments de

A parser combinator library for Rust

combine An implementation of parser combinators for Rust, inspired by the Haskell library Parsec. As in Parsec the parsers are LL(1) by default but th

LR(1) parser generator for Rust

LALRPOP LALRPOP is a Rust parser generator framework with usability as its primary goal. You should be able to write compact, DRY, readable grammars.

The Elegant Parser

pest. The Elegant Parser pest is a general purpose parser written in Rust with a focus on accessibility, correctness, and performance. It uses parsing

A typed parser generator embedded in Rust code for Parsing Expression Grammars

Oak Compiled on the nightly channel of Rust. Use rustup for managing compiler channels. You can download and set up the exact same version of the comp

Rust query string parser with nesting support

What is Queryst? This is a fork of the original, with serde and serde_json updated to 0.9 A query string parsing library for Rust inspired by https://

A fast, extensible, command-line arguments parser

parkour A fast, extensible, command-line arguments parser. Introduction 📚 The most popular argument parser, clap, allows you list all the possible ar

Soon to be AsciiDoc parser implemented in rust!

pagliascii "But ASCII Doc, I am Pagliascii" Soon to be AsciiDoc parser implemented in rust! This project is the current implementation of the requeste

Super-fast float parser in Rust

fast-float This crate provides a super-fast decimal number parser from strings into floats.

Neural network transition-based dependency parser (in Rust)

dpar Introduction dpar is a neural network transition-based dependency parser. The original Go version can be found in the oldgo branch. Dependencies

Comments
  • fails in m1

    fails in m1

    Hi @Joakker, awesome work. I tried to install it but it's seems that it might not be configured properly for m1.

    log:

    warning: unused manifest key: target.aarch64-apple-darwin.rustflags
    warning: unused manifest key: target.x86_64-apple-darwin.rustflags
       Compiling lua-json5 v0.1.0 (/Users/tami/repos/redisgraph.lua/lua-json5)
    error: linking with `cc` failed: exit status: 1
      |
      = note: "cc" "-arch" "arm64" "-L" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.lua_json5.3t0kvc92-cgu.0.rcgu.o" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.lua_json5.3t0kvc92-cgu.1.rcgu.o" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.lua_json5.3t0kvc92-cgu.10.rcgu.o" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.lua_json5.3t0kvc92-cgu.11.rcgu.o" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.lua_json5.3t0kvc92-cgu.12.rcgu.o" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.lua_json5.3t0kvc92-cgu.14.rcgu.o" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.lua_json5.3t0kvc92-cgu.15.rcgu.o" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.lua_json5.3t0kvc92-cgu.2.rcgu.o" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.lua_json5.3t0kvc92-cgu.3.rcgu.o" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.lua_json5.3t0kvc92-cgu.4.rcgu.o" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.lua_json5.3t0kvc92-cgu.5.rcgu.o" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.lua_json5.3t0kvc92-cgu.6.rcgu.o" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.lua_json5.3t0kvc92-cgu.7.rcgu.o" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.lua_json5.3t0kvc92-cgu.8.rcgu.o" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.lua_json5.3t0kvc92-cgu.9.rcgu.o" "-o" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/liblua_json5.dylib" "-Wl,-exported_symbols_list,/var/folders/r3/jzqdvdtx7kv72pr448mwf3140000gn/T/rustcNhsexk/list" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.1twrr0eaxlamh87.rcgu.o" "-Wl,-dead_strip" "-dynamiclib" "-Wl,-dylib" "-nodefaultlibs" "-L" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps" "-L" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/libpest-36c76b4f1e0eb7ee.rlib" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/libucd_trie-2b023c2d920a0681.rlib" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/libmlua-1b35d63ddace5c64.rlib" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/libonce_cell-90f6bdd286677412.rlib" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/libnum_traits-c2c7e89e2167b868.rlib" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/libbstr-3551127eacd9ad89.rlib" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/libmemchr-5fd6fe1f64825a53.rlib" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd-45adb70961bd1d6d.rlib" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libpanic_unwind-2ab7e3be3fe881eb.rlib" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libobject-b7ea6b731904a63e.rlib" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libaddr2line-6baf70e00600d37a.rlib" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libgimli-c55d00a931f53044.rlib" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd_detect-4d46d9ae01ff0dcd.rlib" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_demangle-edf0fec0639df65e.rlib" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libhashbrown-e81836a6102fbf86.rlib" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_alloc-5baaf317ea5154c9.rlib" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libunwind-2aa62e039c893e2a.rlib" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcfg_if-1f6ba3f1df9f83f5.rlib" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liblibc-e1883bf629bf5f4b.rlib" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liballoc-da967b87bf618fa0.rlib" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_core-309925a076418223.rlib" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcore-4ce201db55ae746f.rlib" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcompiler_builtins-c5d8a864eb325d01.rlib" "-lSystem" "-lresolv" "-lc" "-lm" "-liconv"
      = note: Undefined symbols for architecture arm64:
                "_lua_getinfo", referenced from:
                    mlua::ffi::compat53::luaL_traceback::h90be0729920cedde in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                "_lua_getmetatable", referenced from:
                    mlua::lua::Lua::pop_value::hed154435fee350a9 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::util::pop_error::he1c74ec3f4a430e8 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::error_traceback::he1cce2fc5e6e265c in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::init_error_registry::error_tostring::_$u7b$$u7b$closure$u7d$$u7d$::h6300296448b3c5ea (.llvm.6830171119093321097) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.11.rcgu.o)
                "_lua_settop", referenced from:
                    mlua::function::Function::call::h606532ac55b38185 in lua_json5.lua_json5.3t0kvc92-cgu.12.rcgu.o
                    mlua::util::protect_lua::do_call::h99cc2578af8f69e7 (.llvm.5526512904049487491) in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                    mlua::util::protect_lua::do_call::h9ccac3f29abdae88 (.llvm.5526512904049487491) in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                    mlua::util::protect_lua::do_call::he913182b53dd601f (.llvm.5526512904049487491) in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                    mlua::ffi::compat53::compat53_findfield::hf375fb6a598b085c in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                    mlua::ffi::compat53::luaL_traceback::h90be0729920cedde in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                    core::ptr::drop_in_place$LT$mlua..util..StackGuard$GT$::hb048123bbb70addc (.llvm.2498109315784210170) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    ...
                "_lua_tonumber", referenced from:
                    mlua::lua::Lua::pop_value::hed154435fee350a9 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::util::to_string::hfd3fd27f0aa21291 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                "_lua_pushinteger", referenced from:
                    mlua::lua::Lua::push_value::h12ea7363192814ab in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                "_lua_pushboolean", referenced from:
                    mlua::lua::Lua::push_value::h12ea7363192814ab in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::util::init_gc_metatable::h2f9b68f9ce422df8 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::init_gc_metatable::hb87712f39cd09685 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::init_error_registry::h3297bb5315b4583e in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                "_lua_xmove", referenced from:
                    mlua::lua::Lua::create_string::haac7c49dd0e2043e in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::lua::Lua::create_string::hc35f8137440b3e7e in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::lua::Lua::create_table::h83c5ca0baab79434 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::lua::Lua::coerce_string::hc9b58a542134eb6a in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::lua::Lua::push_value::h12ea7363192814ab in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::lua::Lua::pop_value::hed154435fee350a9 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::lua::Lua::push_ref::hc0f9787ca31231f5 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    ...
                "_lua_pushnumber", referenced from:
                    mlua::lua::Lua::push_value::h12ea7363192814ab in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                "_lua_toboolean", referenced from:
                    mlua::ffi::compat53::luaL_tolstring::ha2288953a0c7a63b in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                    mlua::lua::Lua::pop_value::hed154435fee350a9 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::util::to_string::hfd3fd27f0aa21291 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                "_lua_tointeger", referenced from:
                    mlua::lua::Lua::pop_value::hed154435fee350a9 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                "_lua_pcall", referenced from:
                    mlua::function::Function::call::h606532ac55b38185 in lua_json5.lua_json5.3t0kvc92-cgu.12.rcgu.o
                    mlua::util::protect_lua::h0f399fad0a2a1a2c in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                    mlua::util::protect_lua::h28c04143d037f58c in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                    mlua::util::protect_lua::h85ecf0dbf909150b in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                    mlua::util::protect_lua::h0c38d1862d21f5e9 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::protect_lua::h59020665c6b01539 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::protect_lua::h8ef6987ba9742423 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    ...
                "_lua_typename", referenced from:
                    mlua::ffi::compat53::luaL_tolstring::ha2288953a0c7a63b in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                "_luaL_ref", referenced from:
                    mlua::util::protect_lua::do_call::hb8492038c2ce9eac (.llvm.7155392919903713787) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                "_lua_pushfstring", referenced from:
                    mlua::ffi::compat53::luaL_traceback::h90be0729920cedde in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                    mlua::ffi::compat53::luaL_tolstring::ha2288953a0c7a63b in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                "_luaL_getmetafield", referenced from:
                    mlua::ffi::compat53::luaL_tolstring::ha2288953a0c7a63b in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                "_lua_topointer", referenced from:
                    mlua::ffi::compat53::luaL_tolstring::ha2288953a0c7a63b in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                    mlua::util::to_string::hfd3fd27f0aa21291 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                "_luaL_callmeta", referenced from:
                    mlua::ffi::compat53::luaL_tolstring::ha2288953a0c7a63b in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                "_lua_pushvalue", referenced from:
                    mlua::ffi::compat53::lua_rotate::hf2aeb4eec7464a77 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                    mlua::ffi::compat53::luaL_traceback::h90be0729920cedde in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                    mlua::ffi::compat53::luaL_tolstring::ha2288953a0c7a63b in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                    mlua::lua::Lua::push_value::h12ea7363192814ab in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::lua::Lua::push_ref::hc0f9787ca31231f5 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::lua::callback_error_ext::_$u7b$$u7b$closure$u7d$$u7d$::h2907d8f0be4ee3bf in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::util::rawset_field::hf0b32c5f6251bb50 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    ...
                "_lua_pushthread", referenced from:
                    mlua::lua::Lua::init_from_ptr::haff70dc81dd70a17 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::lua::Lua::make_from_ptr::hac41ac6dd253488f in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                "_lua_getstack", referenced from:
                    mlua::ffi::compat53::luaL_traceback::h90be0729920cedde in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                "_lua_touserdata", referenced from:
                    mlua::util::protect_lua::do_call::h99cc2578af8f69e7 (.llvm.5526512904049487491) in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                    mlua::util::protect_lua::do_call::h9ccac3f29abdae88 (.llvm.5526512904049487491) in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                    mlua::util::protect_lua::do_call::he913182b53dd601f (.llvm.5526512904049487491) in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                    mlua::lua::Lua::pop_value::hed154435fee350a9 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::lua::Lua::create_callback::call_callback::h612bcbfc751ccf81 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::lua::Lua::make_from_ptr::hac41ac6dd253488f in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::lua::callback_error_ext::_$u7b$$u7b$closure$u7d$$u7d$::h2907d8f0be4ee3bf in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    ...
                "_lua_tolstring", referenced from:
                    mlua::ffi::compat53::compat53_findfield::hf375fb6a598b085c in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                    mlua::ffi::compat53::luaL_traceback::h90be0729920cedde in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                    mlua::ffi::compat53::luaL_tolstring::ha2288953a0c7a63b in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                    mlua::util::protect_lua::do_call::h13d001063586d535 (.llvm.7155392919903713787) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::protect_lua::do_call::hd604ed5b158d330d (.llvm.7155392919903713787) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::protect_lua::do_call::he52d66948e7312e5 (.llvm.7155392919903713787) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::to_string::hfd3fd27f0aa21291 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    ...
                "_luaL_error", referenced from:
                    mlua::ffi::compat53::lua_rotate::hf2aeb4eec7464a77 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                    mlua::ffi::compat53::luaL_traceback::h90be0729920cedde in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                    mlua::ffi::compat53::luaL_tolstring::ha2288953a0c7a63b in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                    mlua::lua::Lua::create_callback::call_callback::h612bcbfc751ccf81 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::util::protect_lua::do_call::h0d91debb00881cf9 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::protect_lua::do_call::h7d91d9fd2ad879d1 (.llvm.7155392919903713787) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::protect_lua::do_call::h991043c5df8b5eea in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    ...
                "_lua_isstring", referenced from:
                    mlua::ffi::compat53::luaL_tolstring::ha2288953a0c7a63b in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                "_lua_next", referenced from:
                    mlua::ffi::compat53::compat53_findfield::hf375fb6a598b085c in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                "_lua_type", referenced from:
                    mlua::ffi::compat53::compat53_findfield::hf375fb6a598b085c in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                    mlua::ffi::compat53::luaL_tolstring::ha2288953a0c7a63b in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                    mlua::lua::Lua::pop_value::hed154435fee350a9 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::lua::Lua::create_callback::call_callback::h612bcbfc751ccf81 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::lua::Lua::make_from_ptr::hac41ac6dd253488f in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::util::push_gc_userdata::haaa348a4b17465ea in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::get_gc_metatable::h06ff11ecdbe3768d in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    ...
                "_lua_remove", referenced from:
                    mlua::util::protect_lua::h0f399fad0a2a1a2c in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                    mlua::util::protect_lua::h28c04143d037f58c in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                    mlua::util::protect_lua::h85ecf0dbf909150b in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                    mlua::ffi::compat53::compat53_findfield::hf375fb6a598b085c in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                    mlua::ffi::compat53::luaL_traceback::h90be0729920cedde in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                    mlua::lua::Lua::create_callback::call_callback::h612bcbfc751ccf81 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::util::protect_lua::h0c38d1862d21f5e9 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    ...
                "_lua_concat", referenced from:
                    mlua::ffi::compat53::compat53_findfield::hf375fb6a598b085c in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                    mlua::ffi::compat53::luaL_traceback::h90be0729920cedde in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                "_lua_rawseti", referenced from:
                    mlua::util::protect_lua::do_call::h9ccac3f29abdae88 (.llvm.5526512904049487491) in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                "_lua_pushnil", referenced from:
                    core::ptr::drop_in_place$LT$mlua..value..Value$GT$::ha5159d2120f65993 (.llvm.12512851066089662595) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.15.rcgu.o)
                    core::ptr::drop_in_place$LT$mlua..string..String$GT$::hc811e0625f3b0d7e in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.15.rcgu.o)
                    mlua::conversion::_$LT$impl$u20$mlua..value..FromLua$u20$for$u20$alloc..string..String$GT$::from_lua::hae3a87f7c07d2dde in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.15.rcgu.o)
                    mlua::ffi::compat53::compat53_findfield::hf375fb6a598b085c in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                    core::ptr::drop_in_place$LT$mlua..table..Table$GT$::h55299a009025a0e7 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    core::ptr::drop_in_place$LT$mlua..value..Value$GT$::ha5159d2120f65993 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    _$LT$mlua..lua..Lua$u20$as$u20$core..ops..drop..Drop$GT$::drop::h6b859b2a0f10b1e4 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    ...
                "_lua_newuserdata", referenced from:
                    mlua::lua::Lua::create_callback::call_callback::h612bcbfc751ccf81 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::util::protect_lua::do_call::h22b712d963047f11 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::protect_lua::do_call::he1f96a5c4d0ab658 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::protect_lua::do_call::hfd9e97192fa83657 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::userdata_destructor::h4f31df5360175da6 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::userdata_destructor::h8b893a937fc56f72 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::userdata_destructor::h935b8f18354b32ee in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    ...
                "_lua_settable", referenced from:
                    mlua::util::protect_lua::do_call::he913182b53dd601f (.llvm.5526512904049487491) in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                "_lua_rawequal", referenced from:
                    mlua::ffi::compat53::compat53_findfield::hf375fb6a598b085c in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                    mlua::lua::Lua::pop_value::hed154435fee350a9 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::util::pop_error::he1c74ec3f4a430e8 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::error_traceback::he1cce2fc5e6e265c in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::init_error_registry::error_tostring::_$u7b$$u7b$closure$u7d$$u7d$::h6300296448b3c5ea (.llvm.6830171119093321097) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.11.rcgu.o)
                "_lua_rawget", referenced from:
                    mlua::lua::Lua::make_from_ptr::hac41ac6dd253488f in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::util::push_gc_userdata::haaa348a4b17465ea in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::get_gc_metatable::h06ff11ecdbe3768d in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::init_error_registry::h3297bb5315b4583e in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    std::panic::catch_unwind::h2ecf10884444b80f in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.11.rcgu.o)
                    std::panic::catch_unwind::h70fe369ae185b689 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.11.rcgu.o)
                    std::panic::catch_unwind::h8b8b5a22cbfc1c57 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.11.rcgu.o)
                    ...
                "_lua_replace", referenced from:
                    core::ptr::drop_in_place$LT$mlua..value..Value$GT$::ha5159d2120f65993 (.llvm.12512851066089662595) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.15.rcgu.o)
                    core::ptr::drop_in_place$LT$mlua..string..String$GT$::hc811e0625f3b0d7e in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.15.rcgu.o)
                    mlua::conversion::_$LT$impl$u20$mlua..value..FromLua$u20$for$u20$alloc..string..String$GT$::from_lua::hae3a87f7c07d2dde in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.15.rcgu.o)
                    mlua::ffi::compat53::lua_rotate::hf2aeb4eec7464a77 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                    mlua::ffi::compat53::luaL_traceback::h90be0729920cedde in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                    mlua::ffi::compat53::luaL_tolstring::ha2288953a0c7a63b in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                    core::ptr::drop_in_place$LT$mlua..table..Table$GT$::h55299a009025a0e7 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    ...
                "_lua_isnumber", referenced from:
                    mlua::util::to_string::hfd3fd27f0aa21291 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                "_lua_checkstack", referenced from:
                    mlua::ffi::compat53::lua_rotate::hf2aeb4eec7464a77 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                    mlua::ffi::compat53::luaL_traceback::h90be0729920cedde in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                    mlua::lua::Lua::init_from_ptr::haff70dc81dd70a17 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::lua::Lua::create_string::haac7c49dd0e2043e in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::lua::Lua::create_string::hc35f8137440b3e7e in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::lua::Lua::create_table::h83c5ca0baab79434 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::lua::Lua::coerce_string::hc9b58a542134eb6a in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    ...
                "_lua_rawset", referenced from:
                    mlua::util::protect_lua::do_call::h99cc2578af8f69e7 (.llvm.5526512904049487491) in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                    mlua::util::protect_lua::do_call::h0d91debb00881cf9 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::protect_lua::do_call::h7d91d9fd2ad879d1 (.llvm.7155392919903713787) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::protect_lua::do_call::h991043c5df8b5eea in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::protect_lua::do_call::hd1f4b689ec630ea1 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::protect_lua::do_call::hd604ed5b158d330d (.llvm.7155392919903713787) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                "_lua_newthread", referenced from:
                    mlua::util::protect_lua::do_call::hb8492038c2ce9eac (.llvm.7155392919903713787) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                "_lua_pushlightuserdata", referenced from:
                    mlua::util::protect_lua::h0f399fad0a2a1a2c in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                    mlua::util::protect_lua::h28c04143d037f58c in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                    mlua::util::protect_lua::h85ecf0dbf909150b in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                    mlua::lua::Lua::init_from_ptr::haff70dc81dd70a17 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::lua::Lua::push_value::h12ea7363192814ab in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::lua::Lua::make_from_ptr::hac41ac6dd253488f in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::util::protect_lua::h0c38d1862d21f5e9 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    ...
                "_lua_insert", referenced from:
                    mlua::ffi::compat53::compat53_findfield::hf375fb6a598b085c in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                    mlua::util::protect_lua::do_call::h0d91debb00881cf9 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::protect_lua::do_call::h7d91d9fd2ad879d1 (.llvm.7155392919903713787) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::protect_lua::do_call::h991043c5df8b5eea in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::protect_lua::do_call::hd1f4b689ec630ea1 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                "_lua_setmetatable", referenced from:
                    mlua::lua::Lua::create_callback::call_callback::h612bcbfc751ccf81 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::util::push_gc_userdata::haaa348a4b17465ea in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::push_gc_userdata::hbaf107b72480bcc2 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::userdata_destructor::h4f31df5360175da6 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::userdata_destructor::h8b893a937fc56f72 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::userdata_destructor::h935b8f18354b32ee in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::userdata_destructor::hef898ac06955ac84 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    ...
                "_lua_pushcclosure", referenced from:
                    mlua::function::Function::call::h606532ac55b38185 in lua_json5.lua_json5.3t0kvc92-cgu.12.rcgu.o
                    mlua::util::protect_lua::h0f399fad0a2a1a2c in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                    mlua::util::protect_lua::h28c04143d037f58c in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                    mlua::util::protect_lua::h85ecf0dbf909150b in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                    mlua::util::protect_lua::h0c38d1862d21f5e9 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::protect_lua::h59020665c6b01539 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::protect_lua::h8ef6987ba9742423 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    ...
                "_lua_close", referenced from:
                    _$LT$mlua..lua..Lua$u20$as$u20$core..ops..drop..Drop$GT$::drop::h6b859b2a0f10b1e4 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                "_lua_error", referenced from:
                    mlua::lua::Lua::entrypoint1::h5ee905912fe8c0d7 in lua_json5.lua_json5.3t0kvc92-cgu.9.rcgu.o
                    mlua::lua::Lua::create_callback::call_callback::h612bcbfc751ccf81 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                    mlua::util::userdata_destructor::h4f31df5360175da6 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::userdata_destructor::h8b893a937fc56f72 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::userdata_destructor::h935b8f18354b32ee in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::userdata_destructor::hef898ac06955ac84 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::callback_error::hd966341192d4279f in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    ...
                "_lua_pushlstring", referenced from:
                    mlua::ffi::compat53::compat53_findfield::hf375fb6a598b085c in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                    mlua::ffi::compat53::luaL_traceback::h90be0729920cedde in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                    mlua::ffi::compat53::luaL_tolstring::ha2288953a0c7a63b in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                    mlua::util::protect_lua::do_call::h13d001063586d535 (.llvm.7155392919903713787) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                    mlua::util::protect_lua::do_call::hd604ed5b158d330d (.llvm.7155392919903713787) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                "_lua_createtable", referenced from:
                    mlua::util::protect_lua::do_call::hd3c9cc4894525588 (.llvm.7155392919903713787) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                "_lua_gettop", referenced from:
                    mlua::function::Function::call::h606532ac55b38185 in lua_json5.lua_json5.3t0kvc92-cgu.12.rcgu.o
                    mlua::util::protect_lua::h0f399fad0a2a1a2c in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                    mlua::util::protect_lua::h28c04143d037f58c in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                    mlua::util::protect_lua::h85ecf0dbf909150b in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                    mlua::util::protect_lua::do_call::h99cc2578af8f69e7 (.llvm.5526512904049487491) in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                    mlua::util::protect_lua::do_call::h9ccac3f29abdae88 (.llvm.5526512904049487491) in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                    mlua::util::protect_lua::do_call::he913182b53dd601f (.llvm.5526512904049487491) in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                    ...
              ld: symbol(s) not found for architecture arm64
              clang: error: linker command failed with exit code 1 (use -v to see invocation)
              
    
    error: aborting due to previous error
    
    error: could not compile `lua-json5`
    
    To learn more, run the command again with --verbose.
    
    
    help wanted 
    opened by kkharji 13
Owner
Joaquín León
Joaquín León
Get JSON values quickly - JSON parser for Rust

get json values quickly GJSON is a Rust crate that provides a fast and simple way to get values from a json document. It has features such as one line

Josh Baker 160 Dec 29, 2022
This library is a pull parser for CommonMark, written in Rust

This library is a pull parser for CommonMark, written in Rust. It comes with a simple command-line tool, useful for rendering to HTML, and is also designed to be easy to use from as a library.

Raph Levien 1.5k Jan 1, 2023
Easy c̵̰͠r̵̛̠ö̴̪s̶̩̒s̵̭̀-t̶̲͝h̶̯̚r̵̺͐e̷̖̽ḁ̴̍d̶̖̔ ȓ̵͙ė̶͎ḟ̴͙e̸̖͛r̶̖͗ë̶̱́ṉ̵̒ĉ̷̥e̷͚̍ s̷̹͌h̷̲̉a̵̭͋r̷̫̊ḭ̵̊n̷̬͂g̵̦̃ f̶̻̊ơ̵̜ṟ̸̈́ R̵̞̋ù̵̺s̷̖̅ţ̸͗!̸̼͋

Rust S̵̓i̸̓n̵̉ I̴n̴f̶e̸r̵n̷a̴l mutability! Howdy, friendly Rust developer! Ever had a value get m̵̯̅ð̶͊v̴̮̾ê̴̼͘d away right under your nose just when

null 294 Dec 23, 2022
Yet Another Parser library for Rust. A lightweight, dependency free, parser combinator inspired set of utility methods to help with parsing strings and slices.

Yap: Yet another (rust) parsing library A lightweight, dependency free, parser combinator inspired set of utility methods to help with parsing input.

James Wilson 117 Dec 14, 2022
Website for Microformats Rust parser (using 'microformats-parser'/'mf2')

Website for Microformats Rust parser (using 'microformats-parser'/'mf2')

Microformats 5 Jul 19, 2022
A language parser tool to build recursive descent top down parser.

lang-pt A language parser tool to generate recursive descent top down parser. Overview Parsers written for the languages like Javascript are often cus

Creative Forest 7 Jan 4, 2023
Djotters is a Djot parser and translater written via parser combinators, in rust.

?? Djotters Turning your Djot (markdown) into lovely HTML! Djotters is here to let you draft up a document and watch it render in real time. If you wa

Anthony Alaribe 4 Mar 26, 2024
Rust DLT (Diagnostic Log and Trace) packet parser

dlt_parse A zero allocation rust library for basic parsing & writing DLT (Diagnostic Log and Trace) packets. Currently only the parsing and writing of

Julian Schmid 23 Dec 16, 2022
Rust dbc parser

can-dbc A CAN-dbc format parser written with Rust's nom parser combinator library. 1. Example Read dbc file and generate Rust structs based on the mes

Marcel 38 Dec 19, 2022
A full featured, fast Command Line Argument Parser for Rust

clap Command Line Argument Parser for Rust It is a simple-to-use, efficient, and full-featured library for parsing command line arguments and subcomma

null 10.4k Jan 10, 2023