An open API service indexing awesome lists of open source software.

https://github.com/kingfs/ragel-playground

a playground for ragel
https://github.com/kingfs/ragel-playground

code-generation example-code ragel

Last synced: 12 months ago
JSON representation

a playground for ragel

Awesome Lists containing this project

README

          

# ragel-playground

## 说明

本项目旨在:

1. 提供一个ragel的开发调试环境
2. 收集一些用ragel解决的问题样例
3. 通过一个个`实验`,方便新员工学习和理解ragel

## 依赖

### ragel

目前测试基于`ragel 6.10`版本

* [官网](http://www.colm.net/open-source/ragel/)
* [github](https://github.com/adrian-thurston/ragel)
* [ragel-guide-6.10.pdf](http://www.colm.net/files/ragel/ragel-guide-6.10.pdf)
* [ragel-cheat-sheet](https://github.com/calio/ragel-cheat-sheet)

### ragel学习建议

1. 看`ragel-cheat-sheet`
2. 看`ragel-guide-6.10.pdf`
3. 看项目中`数字.`开头的文件夹

## 使用方法

1. 每个`实验`一个目录,目录名称能表达此`实验`的目的
2. `实验`目录编写`Makefile`,方便他人学习使用(用Makefile是用于记录编译命令等信息,此项目不是用于真正生产,因此用最简单的方式提供即可)
3. 建议每个`实验`写一个`README.md`

注意:

1. 不要提交二进制!!!
2. 养成良好的习惯