feat: readme
This commit is contained in:
parent
9d89f2fad0
commit
f8d3b791b7
@ -35,6 +35,7 @@ Now in Zig!
|
||||
- [x] Parse minimal variable binding
|
||||
- [x] Parse minimal statement
|
||||
- [x] Parse minimal module
|
||||
- [x] Generate error messages
|
||||
- [x] Generate error messages on number lexing
|
||||
- [x] Generate error messages on string lexing
|
||||
|
||||
|
||||
|
25
README.md
Normal file
25
README.md
Normal file
@ -0,0 +1,25 @@
|
||||
# The THP programming language
|
||||
|
||||
This is the source code for the THP programming language.
|
||||
THP stands for "Typed Hypertext Preprocessor", and is a
|
||||
functional first, strong, nominal, statically typed language
|
||||
that compiles down to PHP.
|
||||
|
||||
It is completely written in Zig, it is being rewritten from Rust.
|
||||
There is documentation and a WIP spec at
|
||||
[https://thp-lang.org](https://thp-lang.org).
|
||||
|
||||
## Install
|
||||
|
||||
This software is nowhere near to be useful.
|
||||
|
||||
This program has exactly 1 dependency: the zig standard library.
|
||||
|
||||
- Install [the Zig programming language](https://ziglang.org/).
|
||||
- Run `zig build -Doptimize=ReleaseFast`
|
||||
- The binary will be located at `zig-out/bin/thp`
|
||||
- Profit
|
||||
|
||||
|
||||
|
||||
|
@ -193,3 +193,5 @@ test "should fail on newline after backslash" {
|
||||
|
||||
try std.testing.expect(false);
|
||||
}
|
||||
|
||||
// TODO: test error messages
|
||||
|
Loading…
Reference in New Issue
Block a user