The THP programming language compiler https://thp.araozu.dev
Go to file
Araozu 1fbc353ebf Extract params list parsing 2023-09-21 20:52:55 -05:00
src Extract params list parsing 2023-09-21 20:52:55 -05:00
.gitignore Refactor AST location 2023-09-07 20:50:51 -05:00
CHANGELOG.md Tag 0.0.6 2023-09-19 20:42:03 -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.