1
1
Fork 0
mirror of https://github.com/azur1s/bobbylisp.git synced 2024-10-16 02:37:40 -05:00
bobbylisp/README.md

44 lines
1.4 KiB
Markdown
Raw Normal View History

2022-03-11 20:52:24 -06:00
# Hazure
2022-03-15 19:36:39 -05:00
Programming language that compiles to Typescript!
2022-02-25 02:59:17 -06:00
2022-03-12 17:47:31 -06:00
```sml
2022-04-09 09:04:48 -05:00
fun main : void = do
@write("Hello, World!")
end
2022-03-11 19:39:37 -06:00
```
2022-03-18 21:53:33 -05:00
or with the pipeline operator:
2022-03-12 17:47:31 -06:00
```sml
2022-04-09 09:04:48 -05:00
fun main : void = do
2022-03-12 17:46:50 -06:00
"Hello, World!\n"
2022-04-09 09:04:48 -05:00
|> @write(_)
end
2022-03-12 17:46:50 -06:00
```
2022-03-12 19:45:58 -06:00
2022-03-06 14:53:44 -06:00
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)
2022-02-12 08:28:56 -06:00
2022-03-15 19:36:39 -05:00
# Prerequistie
2022-03-21 00:03:30 -05:00
- `deno` for running Typescript
2022-03-15 19:36:39 -05:00
- Rust (if you're going to build from source)
2022-03-23 22:12:32 -05:00
- (Optional) if you use Vim, you can get the syntax highlighting [here](https://github.com/azur1s/hazure.vim)
2022-03-15 19:36:39 -05:00
2022-03-25 01:03:07 -05:00
# 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
```
2022-03-13 04:21:33 -05:00
# 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`
2022-03-15 19:36:39 -05:00
2) Build executable `cargo build`
3) Try running some examples! `path/to/executable compile path/to/file.hz`
2022-03-13 04:21:33 -05:00
2022-02-25 04:03:55 -06:00
# License
2022-03-21 00:03:30 -05:00
Hazure is licensed under both [MIT license](https://github.com/azur1s/hazure/blob/master/LICENSE-MIT) and [Apache License](https://github.com/azur1s/hazure/blob/master/LICENSE-APACHE)