0.12.0 • Published 4 months ago

@guiferpa/aurora v0.12.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

aurora

Aurora's just for studying programming language concepts

⚠ Don't use it to develop something that'll go to production environment

Summary

Get started

Install CLI

$ npm i -g @guiferpa/aurora

Using REPL mode

$ aurora
>> var result = 1_000 * 2
=
>> result + 1
= 2001
>> print(result)
2000
=

Execute from file

Create aurora source code file

var result = 10 * 20
print(result + 1)

Execute file

$ aurora run ./<file>.ar

That's the output from evaluator

201
=

Writing some code

🎈 Unfortunately this project there's no contributor enough to turn this doc better but be my guest discovering how to write some code looking at examples folder.

Extra options

Debug flag

All commands support tree (AST) mode

$ aurora --tree $ aurora --tree run ...

Setting tree mode the CLI show up the AST (Abstract syntax tree) from source code

0.10.1

4 months ago

0.12.0

4 months ago

0.10.3

4 months ago

0.9.0

4 months ago

0.9.2

4 months ago

0.8.1

4 months ago

0.8.0

4 months ago

0.7.3

4 months ago

0.7.1

4 months ago

0.7.0

4 months ago

0.6.0

4 months ago

0.5.1

5 months ago

0.4.0

10 months ago

0.3.2

1 year ago

0.3.0

1 year ago

0.2.4

1 year ago

0.2.3

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.5.0

1 year ago