Skip to content

Commit e9c4b54

Browse files
chore: rename to php-parser-rs
1 parent ca45b21 commit e9c4b54

File tree

2 files changed

+5
-26
lines changed

2 files changed

+5
-26
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "trunk_parser"
2+
name = "php-parser-rs"
33
version = "0.1.0"
44
edition = "2021"
55

README.md

Lines changed: 4 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,16 @@
11
<h3 align="center">
2-
Trunk
2+
php-parser-rs
33
</h3>
44

55
<p align="center">
6-
A collection of modern libraries and tools for working with PHP.
6+
A handwritten recursive-descent PHP parser written in Rust, for fun.
77
</p>
88

99
---
1010

11-
<p align="center">
12-
<a href="https://discord.gg/49vgTdE6mb">
13-
<img src="https://img.shields.io/badge/Trunk-%237289DA.svg?style=for-the-badge&logo=discord&logoColor=white">
14-
</a>
15-
</p>
16-
17-
#### Overview
18-
19-
The Trunk project originally started with me ([Ryan](https://github.com/ryangjchandler)) experimenting with a handwritten recursive-descent parser for PHP written in Rust. The parser evolved very quickly and I found myself already being able to parse relatively complex programs that I had written myself.
20-
21-
Once I had something worth sharing, I created this GitHub repository and some people were interested in what I was doing. Since then, it's become a hobby project for myself and I tend to work on it in my spare time.
22-
23-
The current goal for Trunk is to get a fully functional parser up and running so that it can be used in some meaningful projects, aimed at bringing the speed and performance of modern PHP tooling closer to that of [our](https://deno.land) [cousins](https://bun.sh) in [JavaScript](https://swc.rs/) [land](https://esbuild.github.io).
24-
25-
#### Libraries and Tools
26-
27-
* [Lexer](/trunk_lexer/)
28-
* [Parser](/trunk_parser/)
29-
30-
> Neither of these projects are production-ready so please don't use them for anything critical.
31-
3211
#### Contributing
3312

34-
All contributions to Trunk are welcome. It's the perfect project for Rust beginners since we don't use many of Rust's complex features and the core concepts in the parser are purposely simple.
13+
All contributions to this repository are welcome. It's the perfect project for Rust beginners since we don't use many of Rust's complex features and the core concepts in the parser are purposely simple.
3514

3615
If you do wish to contribute, we just ask you to follow a few simple rules.
3716

@@ -42,4 +21,4 @@ If you do wish to contribute, we just ask you to follow a few simple rules.
4221
#### Credits
4322

4423
* [Ryan Chandler](https://github.com/ryangjchandler)
45-
* [All contributors](https://github.com/ryangjchandler/trunk/graphs/contributors)
24+
* [All contributors](https://github.com/ryangjchandler/php-parser-rs/graphs/contributors)

0 commit comments

Comments
 (0)