Skip to content

Commit

Permalink
change directory structure
Browse files Browse the repository at this point in the history
  • Loading branch information
poppingmoon committed Aug 24, 2024
1 parent c819a36 commit 6e8ce43
Show file tree
Hide file tree
Showing 37 changed files with 1,241 additions and 67 deletions.
81 changes: 49 additions & 32 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 2 additions & 25 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,25 +1,2 @@
[package]
name = "aiscript"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
chrono = "0.4"
futures = "0.3"
indexmap = "2.3"
peg = "0.8"
percent-encoding = "2.3"
rand = "0.8"
regex = "1.10"
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0", features = ["preserve_order"] }
thiserror = "1.0"
tokio = { version = "1", features = ["rt", "time"] }
unicode-segmentation = "1.11"
uuid = { version = "1.10", features = ["v4"] }

[dev-dependencies]
rustyline = "14.0"
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
[workspace]
members = ["aiscript", "aiscript-v0"]
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@

[![CI](https://github.com/poppingmoon/aiscript-rs/actions/workflows/ci.yml/badge.svg)](https://github.com/poppingmoon/aiscript-rs/actions/workflows/ci.yml)

Rust implementation of [AiScript](https://github.com/aiscript-dev/aiscript) (Experimental)
Rust implementation of [AiScript](https://github.com/aiscript-dev/aiscript)
(Experimental)

## Example

```rust
use aiscript::{Interpreter, Parser};
use aiscript::v0::{Interpreter, Parser};
use futures::FutureExt;

let script = Parser::default().parse("<: 'Hello, world!'")?;
Expand Down
Loading

0 comments on commit 6e8ce43

Please sign in to comment.