1
1
Fork 0
mirror of https://github.com/azur1s/bobbylisp.git synced 2024-10-16 02:37:40 -05:00
Another lisp dialect (mirror)
Find a file
2022-04-09 22:12:42 +07:00
crates fix parser type 2022-04-09 21:04:08 +07:00
example fix parser type 2022-04-09 21:04:08 +07:00
runtime implements read_fle, std -> runtime 2022-03-20 05:18:27 +07:00
.gitignore cpp -> typescript 2022-03-16 07:36:39 +07:00
build.sh use bash 2022-03-25 13:00:57 +07:00
Cargo.lock cleanup 2022-03-23 13:03:08 +07:00
Cargo.toml prepare for typechecking 2022-03-23 12:45:35 +07:00
FUNDING.yml update misc stuff 2022-03-07 03:53:44 +07:00
LICENSE-APACHE rename (again) 2022-03-06 23:51:03 +07:00
LICENSE-MIT rename (again) 2022-03-06 23:51:03 +07:00
README.md Update README.md 2022-04-09 22:12:42 +07:00

Hazure

Programming language that compiles to Typescript!

fun main : void = do
    @write("Hello, World!")
end

or with the pipeline operator:

fun main : void = do
    "Hello, World!\n"
    |> @write(_)
end

Note: Everything in this project can be changed at anytime! (I'm still finding out what work best for lots of thing) if you have an idea, feel free to create an issues about it, or even create a PR! (I'd be very happy)

Prerequistie

  • deno for running Typescript
  • Rust (if you're going to build from source)
  • (Optional) if you use Vim, you can get the syntax highlighting here

Installing

Currently there is only a build script on linux:

curl -s https://raw.githubusercontent.com/azur1s/hazure/master/build.sh | bash -s

or if you want to build in debug mode:

curl -s https://raw.githubusercontent.com/azur1s/hazure/master/build.sh | bash -s d

Contributing

Found a bug? Found a better way to do something? Make a pull request or tell me in the issues tab! Anything contributions helps :D

Steps to build:

  1. Clone this repo https://github.com/azur1s/hazure.git
  2. Build executable cargo build
  3. Try running some examples! path/to/executable compile path/to/file.hz

License

Hazure is licensed under both MIT license and Apache License