The THP programming language compiler https://thp.araozu.dev
Go to file
Araozu 18cbe2a8ab [Syntax] Parse var/val binding as statemente 2023-10-05 06:51:48 -05:00
src [Syntax] Parse var/val binding as statemente 2023-10-05 06:51:48 -05:00
.gitignore [Syntax] Parse function call as a statement 2023-10-05 06:31:24 -05:00
CHANGELOG.md Start function call parsing 2023-10-01 17:18:28 -05:00
Cargo.lock Tag 0.0.6 2023-09-19 20:42:03 -05:00
Cargo.toml Tag 0.0.6 2023-09-19 20:42:03 -05:00
LICENSE.md Remove doc from compiler 2023-09-07 20:18:35 -05:00
README.md Changes to codegen to move from JS to PHP generation 2023-09-08 19:34:08 -05:00

README.md

THP: Typed Hypertext Processor

Types and a new syntax for PHP, because I'm forced to use it at work.

Usage

Singular files

Inside an existing PHP codebase, files are converted to THP one at a time, or new files are written in THP.

There must be a thp.config.yaml at the root of the project, which configures the compiler.

Every file is compiled in place.

Project mode

The whole project uses THP. Work in progress.