Typed
Hypertext
Processor

Syntax, stdlib and types for PHP
Written in Rust

                
                    fun find_person(Str person_id) -> Result[Str] {
                        let person_id = try person_id.parse[Int]()
                        try Person::find_by_id(person_id)
                    }

                    let id = POST::get("person_id") ?: die
                    let person = find_person(person_id: id) ?: die

                    print(
                        <a href="/person/reports/{person.id}">
                            Hello {person.name}
                        </div>
                    )
                
            
Learn Install