#yaml #wolfram #format #json #run-time #convert #wex

app wxf-converter

Transform yaml, json, pkl files to wolfram

3 releases

0.3.2 Mar 27, 2022
0.3.1 Mar 27, 2022
0.3.0 Mar 23, 2020

#2646 in Parser implementations

50 downloads per month

MPL-2.0 license

230KB
9K SLoC

Wolfram Exchange

wex is a tool that can convert various formats such as yaml, toml to wolfram format, without the need of the wolfram runtime.

Install

  • rust user?
cargo install wxf-converter
  • want to try rust?

https://www.rust-lang.org/tools/install

  • otherwise

Download the precompiled executable in Github Release

Rename to wex and put under $Path

Usage

Basic

wex in.yml      # check file but no output
wex in.yml -t   # output only text
wex in.yml -c   # output only binary
wex in.yml -ct  # output both text and binary

Advance

use wex -h to get help.

Wolfram Format Converter

USAGE:
    wex [FLAGS] [OPTIONS] <INPUT>

FLAGS:
    -b, --binary      Generates wxf file
    -c, --compress    Generates mx file
    -t, --text        Generates m file
    -h, --help        Prints help information
    -V, --version     Prints version information

OPTIONS:
    -f, --format <Format>    Sets the input file format

ARGS:
    <INPUT>    Sets the input file to use

Contribution

If you have any questions or suggestions, post them on:

https://github.com/GalAster/wolfram-exchange/issues

Dependencies

~8.5MB
~170K SLoC