-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from polystat/develop
Release 0.2
- Loading branch information
Showing
339 changed files
with
18,189 additions
and
8,138 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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
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,3 @@ | ||
# ⚠️ NOTICE ⚠️ | ||
|
||
This directory contains binaries provided by GNU Bison project, thus, not implemented by us. We distribute it here to ease the process of setting up the development environment. Feel free to delete them/replace by files located in your local system. |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
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,3 @@ | ||
package eotree | ||
|
||
abstract class EOBnd(var expr: EOExpr) : EONode() |
This file was deleted.
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,19 @@ | ||
package eotree | ||
|
||
import arrow.core.prependTo | ||
import arrow.core.tail | ||
|
||
class EOBndExpr(expr: EOExpr, var bndName: String) : EOBnd(expr) { | ||
override fun generateEO(indent: Int): String { | ||
val lines = expr.generateEO(indent).split("\n") | ||
|
||
// Append attribute name to the first line | ||
return lines | ||
.first() | ||
.let { line -> "$line > $bndName" } | ||
.prependTo(lines.tail()) | ||
.joinToString("\n") | ||
} | ||
|
||
override fun toString(): String = "[expr] > $bndName" | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
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,15 @@ | ||
package eotree | ||
|
||
/** | ||
* EBNF representation: | ||
* ` | ||
* '#' ANY EOL | ||
` * | ||
*/ | ||
class EOComment(var comment: String) : EONode() { | ||
override fun generateEO(indent: Int): String = | ||
"# $comment" | ||
|
||
override fun toString(): String = | ||
"# $comment" | ||
} |
Oops, something went wrong.
33c141d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't able to retrieve PDD puzzles from the code base and submit them to GitHub. If you think that it's a bug on our side, please submit it to yegor256/0pdd:
Please, copy and paste this stack trace to GitHub: