承接 scato/phpeg 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

scato/phpeg

Composer 安装命令:

composer require scato/phpeg

包简介

PEG Parser Generator

关键字:

README 文档

README

PEG Parser Generator

This project is still unstable. Some features like case-insensitive literals are stil missing. The rest should work, though.

Usage

Install this tool as a dev requirement:

"require-dev": {
    "scato/phpeg": "1.*"
}

You can now generate (and regenerate) parsers using the command line tool:

$ vendor/bin/phpeg generate <input-file> [<output-file>]

Read the grammar section in the documentation for help on the grammar syntax. Read the usage section for more details on both basic and advanced usage.

About

PHPeg is a PEG parser generator.

The generated parser is a PEG parser that uses memoization. This effectively makes it a Packrat Parser, or so I'm told.

PHPeg is heavily inspired by PEG.js. The grammar section contains details on the differences.

统计信息

  • 总下载量: 853
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 9
  • 点击次数: 0
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 9
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-08-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固