[![crates.io][crates-badge]][crates] [![Build Status][ci-badge]][ci] [![source badge][source-badge]][source] [![license badge][license-badge]][license] [crates]: https://crates.io/crates/llmaker [crates-badge]: https://img.shields.io/crates/v/llmaker [ci]: https://github.com/puripuri2100/llmaker/actions?query=workflow%3ARust%20CI [ci-badge]: https://github.com/puripuri2100/llmaker/actions/workflows/rust.yml/badge.svg?branch=master [source]: https://github.com/puripuri2100/llmaker [source-badge]: https://img.shields.io/badge/source-github-blue [license]: https://github.com/puripuri2100/llmaker/blob/master/LICENSE [license-badge]: https://img.shields.io/badge/license-MIT-blue llmaker version 0.0.1 # llmaker Make LL(1) token parser code for Rust See more [demo file](https://github.com/puripuri2100/llmaker/blob/master/demo/demo.mkr). # Install using Cargo Here is a list of minimally required softwares. * git * make * Rust ## Example ### Install Rust and cargo (Ubuntu) ```sh curl https://sh.rustup.rs -sSf | sh ``` ### Install Rust and cargo (Ubuntu on WSL) ```sh curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh ``` ### Install Rust and cargo (Windows) Please download [installer](https://www.rust-lang.org/tools/install), and starting installer. ### Build and Install ```sh cargo install llmaker ``` or ```sh git clone https://github.com/puripuri2100/llmaker.git cd llmaker make install ``` # Usage of llmaker Type ```sh llmaker ``` or ```sh llmaker -o ``` ## Starting out ```sh make demo ``` If `demo/demo.rs` is created, then the setup has been finished correctly. --- This software released under [the MIT license](https://github.com/puripuri2100/llmaker/blob/master/LICENSE). Copyright (c) 2020-2021 Naoki Kaneko (a.k.a. "puripuri2100")