-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5a67be5
commit 0caf579
Showing
18 changed files
with
3,074 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
# biflex | ||
|
||
BIFLEX | ||
====== | ||
|
||
A simple language I made to make bison and flex work together better. |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
Copyright (c) 2020 Dennis Earl Smiley. | ||
Permission is granted to copy, distribute and/or modify this document | ||
under the terms of the GNU Free Documentation License, Version 1.3 | ||
or any later version published by the Free Software Foundation; | ||
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. | ||
A copy of the license is included in the section entitled "GNU | ||
Free Documentation License". | ||
|
||
|
||
CHANGELOG | ||
========= | ||
|
||
8/5/20 Origional a - The first version. | ||
|
||
|
||
GENERAL FORMAT | ||
============== | ||
|
||
BISON FILE | ||
|
||
%%% | ||
|
||
FLEX FILE | ||
|
||
|
||
COMMENTS | ||
======== | ||
|
||
Use the usual comments unless you need it to not be in the resulting bison and flex files. In this case, use /** **/ format. | ||
|
||
|
||
COMMAND LINE | ||
============ | ||
|
||
biflex <input file>.biflex | ||
|
||
This will generate a .ypp file and a .lpp file. You can compile them the way you would bison and flex, when you are using a hack to use C++. Then you can compile the C++ the way you would any C++ file. | ||
|
||
|
||
BISON AND FLEX TUTORIALS | ||
======================== | ||
|
||
* https://www.gnu.org/software/bison/manual/bison.html | ||
* https://aquamentus.com/flex_bison.html |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.