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

34 lines
1.2 KiB
Markdown
Raw Normal View History

2022-03-11 20:52:24 -06:00
# Hazure
2022-03-07 02:16:41 -06:00
Programming language that compiles to C++!
2022-02-25 02:59:17 -06:00
2022-03-11 19:39:37 -06:00
```sml
fun main: int = do
@write("Hello, World!\n");
return 69;
2022-03-11 19:39:37 -06:00
end;
```
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
# Prerequistie
2022-03-11 18:14:01 -06:00
- `clang++`(preferred, default) or any C++ compiler
- Rust (if you're going to build from source)
2022-03-11 18:14:31 -06:00
# Configuration
2022-03-11 18:14:01 -06:00
You can also configurate Hades compiler (currently you can only change the C++ compiler). Make a new file called `hades.toml` in the current working directory and the compiler will look for it! if there isn't one then it will use the default configuration:
```toml
[compiler]
compiler = "clang++"
```
2022-02-12 08:28:56 -06:00
# TODO
2022-03-11 18:14:01 -06:00
> This is only contains important TODOs, smaller TODOs isn't listed here and instead scattered around among sources code.
- More compiler configuration (e.x. complier options)
2022-02-25 04:03:55 -06:00
- Optimization (IR)
2022-03-11 18:14:01 -06:00
- Standard library & Runtime stuff
2022-02-25 04:03:55 -06:00
# License
2022-03-06 10:51:03 -06:00
Hades is licensed under both [MIT license](https://github.com/azur1s/hades/blob/master/LICENSE-MIT) and [Apache License](https://github.com/azur1s/hades/blob/master/LICENSE-APACHE)
2022-02-25 04:03:55 -06:00
Anything helps! :D