Skip to content

Commit

Permalink
Update parser
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmtcn123 committed Apr 17, 2022
1 parent 4b66ddb commit 85e71fa
Show file tree
Hide file tree
Showing 47 changed files with 1,654 additions and 1,455 deletions.
11 changes: 1 addition & 10 deletions Building.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,2 @@
# Building and running Ellie

Please note ellie is in active **alpha** stage and is not ready for use. Planed runtime postponed due to [#55](https://github.com/behemehal/Ellie-Language/issues/55), but after (12.04.2021) runtime work is started. You can follow progress in [blog](https://www.ellie-lang.org/blog.html) or you can join our community on [Discord](https://discord.gg/EqVh4T959N)


## Building ellie compiler
Ellie compiler(`elliec`) is located at `./src/bin/elliec.rs`. You can build by `cargo build` command. This will output executable to `./target/debug/elliec[?.exe]`.

### Parsing code

By default `elliec` does not import std types to parser. You can find ellieStd at [Releases]() or you can compile by `elliec compile ./lib/ellie.ei -m ellieStd -p ./` command. This will output compiled binary at active directory. Then you can import ellieStd by `elliec compile ./target.ei -m MyPackage -i ./ellie.bin`
Moved to [Building Ellie](https://docs.ellie-lang.org/building_ellie.html)
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ bincode = { version = "1.0", optional = true }
clap = { version = "3.1.1", optional = true }
clap_complete = { version = "3.0.0", optional = true }
ellie_core = { path = "core", version = "0.2.0" }
ellie_tokenizer = { path = "tokenizer", version = "0.2.0", default-features = false }
ellie_parser = { path = "parser", version = "0.2.0", default-features = false }
ellie_tokenizer = { path = "tokenizer", version = "0.2.1", default-features = false }
ellie_parser = { path = "parser", version = "0.3.0", default-features = false }
ellie_assist = { path = "EllieAssist", version = "0.1.0", optional = true }
ellie_runtime = {path = "runtime", version = "0.1.0" }
ellie_bytecode = { path = "bytecode", version = "0.1.0" }

[features]
default = ["standard_rules"]
default = ["standard_rules", "build-cli"]
build-cli = ["path-absolutize", "regex", "bincode", "clap", "clap_complete"]
ellie_asist = ["ellie_assist"]
standard_rules = ["ellie_parser/standard_rules"]
Expand All @@ -42,7 +42,7 @@ clap_complete = { version = "3.0.0", optional = true }
lazy_static = "1.4.0"
ellie_core = { path = "core", version = "0.2.0" }
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }
ellie_parser = {path = "parser", version = "0.2.0", default-features = false}
ellie_parser = {path = "parser", version = "0.3.0", default-features = false}
path-absolutize = { version = "3.0.10" }
toml = "0.5.8"
regex = { version = "1.1.7" }
Expand Down
2 changes: 1 addition & 1 deletion DeveloperHandbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ It will generate a file called `file.eic` which contains the parser output.

Bytecode is the default output of the compiler. It is a raw vm code which can be executed by the vm. To access bytecode you can use following command:
```
elliec compile ./file.json --output-type=bytecode
elliec compile ./file.json --output-type=byteCode
```
It will generate a file called `file.eib` which contains the bytecode.

Expand Down
2 changes: 1 addition & 1 deletion Ellie-Standard-Library
200 changes: 0 additions & 200 deletions LanguageTour.md

This file was deleted.

19 changes: 2 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,17 @@

Why ellie? Ellie is a type-safe programing language that runs on embedded and sandboxed environments.

## Language Tour
You can see [LanguageTour.md](./LanguageTour.md)

---

## Building and running Ellie
Check [Building.md](./Building.md), [Developer Handbook](./DeveloperHandbook.md) and [Installing Ellie](https://docs.ellie-lang.org/#/installing) on [Ellie Docs](https://docs.ellie-lang.org)

---

## Docs
You see detailed docs [here](https://docs.ellie-lang.org)

## Robotics
Check [Robotics.md](./Robotics.md)

---

## Language Server [WIP]
You can download ellie extension from [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=behemehal.ellie-lang)

---
## Contributing
You can see [Contributor Covenant](https://www.contributor-covenant.org/version/2/1/code_of_conduct.html) and [Contributing Docs](./contributing.md)

---


## License

Ellie is licensed under the [GPL-2.0 license](./LICENSE) and its libraries are licensed under the [Apache License, Version 2.0](http://apache.org/licenses/LICENSE-2.0) or [MIT license](https://opensource.org/licenses/MIT)
Loading

0 comments on commit 85e71fa

Please sign in to comment.