You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+29-1Lines changed: 29 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## Overview ##
4
4
5
-
**PackCC** is a packrat parser generator for C. Its main features are as follows:
5
+
**PackCC** is a parser generator for C. Its main features are as follows:
6
6
7
7
- Generates your parser in C from a grammar described in a **PEG**,
8
8
- Gives your parser great efficiency by **packrat parsing**,
@@ -34,6 +34,8 @@ For convenience, the build environments using GCC, Clang, and Microsoft Visual S
34
34
35
35
### Using GCC ###
36
36
37
+
#### Other than MinGW ####
38
+
37
39
`packcc` will be built in both directories `build/gcc/debug/bin` and `build/gcc/release/bin` using `gcc` by executing the following commands:
38
40
39
41
```
@@ -44,8 +46,22 @@ make check # bats-core and uncrustify are required (see tests/README.md)
44
46
45
47
`packcc` in the directory `build/gcc/release/bin` is suitable for practical use.
46
48
49
+
#### MinGW ####
50
+
51
+
`packcc` will be built in both directories `build/mingw-gcc/debug/bin` and `build/mingw-gcc/release/bin` using `gcc` by executing the following commands:
52
+
53
+
```
54
+
cd build/mingw-gcc
55
+
make
56
+
make check # bats-core and uncrustify are required (see tests/README.md)
57
+
```
58
+
59
+
`packcc` in the directory `build/mingw-gcc/release/bin` is suitable for practical use.
60
+
47
61
### Using Clang ###
48
62
63
+
#### Other than MinGW ####
64
+
49
65
`packcc` will be built in both directories `build/clang/debug/bin` and `build/clang/release/bin` using `clang` by executing the following commands:
50
66
51
67
```
@@ -56,6 +72,18 @@ make check # bats-core and uncrustify are required (see tests/README.md)
56
72
57
73
`packcc` in the directory `build/clang/release/bin` is suitable for practical use.
58
74
75
+
#### MinGW ####
76
+
77
+
`packcc` will be built in both directories `build/mingw-clang/debug/bin` and `build/mingw-clang/release/bin` using `clang` by executing the following commands:
78
+
79
+
```
80
+
cd build/mingw-clang
81
+
make
82
+
make check # bats-core and uncrustify are required (see tests/README.md)
83
+
```
84
+
85
+
`packcc` in the directory `build/mingw-clang/release/bin` is suitable for practical use.
86
+
59
87
### Using Microsoft Visual Studio ###
60
88
61
89
You have to install Microsoft Visual Studio 2019 in advance.
0 commit comments