The THP programming language compiler https://thp.araozu.dev
Go to file
Araozu e1a0afba36 Check if functions are declared twice 2024-02-03 20:21:48 -05:00
.vscode vscode 2023-10-14 06:14:13 -05:00
src Check if functions are declared twice 2024-02-03 20:21:48 -05:00
.gitignore [Syntax] Parse function call as a statement 2023-10-05 06:31:24 -05:00
CHANGELOG.md Check if functions are declared twice 2024-02-03 20:21:48 -05:00
Cargo.lock Use colored for CLI output 2023-12-12 20:58:09 -05:00
Cargo.toml Use colored for CLI output 2023-12-12 20:58:09 -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.