Currently moving from Gitlab to Gitea at https://labs.phundrak.com. Some features may not work anymore on this Gitlab instance.

Commit 958dba75 authored by Geoffry Song's avatar Geoffry Song

fix the README a little more

parent e2205aaf
......@@ -17,11 +17,12 @@ You can find a demo in `examples/demo.rs`. Note that nightly Rust is required.
## Usage
First, include the plugin.
First, include `plex`.
```rust
#![feature(plugin)]
#![plugin(plex)]
#![feature(use_extern_macros)]
extern crate plex;
use plex::{lexer, parser};
```
### Creating a lexer
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment