-
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
9 changed files
with
675 additions
and
18 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
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 |
---|---|---|
@@ -1,19 +1,31 @@ | ||
ANTLR(GraphPlanar.g4) | ||
|
||
find_package(Boost COMPONENTS graph) | ||
|
||
add_library(translator_graph_planar STATIC | ||
GraphPlanarLexer.cpp | ||
GraphPlanarParser.cpp | ||
GraphPlanar.cpp | ||
) | ||
if (MSVC) | ||
if (Boost_FOUND OR EMSCRIPTEN) | ||
ANTLR(GraphPlanar.g4) | ||
add_library(translator_graph_planar STATIC | ||
GraphPlanarLexer.cpp | ||
GraphPlanarParser.cpp | ||
GraphPlanar.cpp | ||
) | ||
|
||
target_link_libraries(translator_graph_planar | ||
PRIVATE diagon_base | ||
PRIVATE antlr4_static | ||
) | ||
|
||
if (Boost_FOUND) | ||
target_link_libraries(translator_graph_planar PRIVATE Boost::graph) | ||
else() | ||
message(WARNING "GraphPlanar: Boost::graph not found") | ||
endif() | ||
else() | ||
add_library(translator_graph_planar STATIC | ||
GraphPlanarEmpty.cpp | ||
) | ||
endif() | ||
|
||
if (NOT MSVC) | ||
target_compile_options(translator_graph_planar PRIVATE "-Wno-attributes") | ||
endif() | ||
|
||
target_link_libraries(translator_graph_planar | ||
PRIVATE diagon_base | ||
PRIVATE antlr4_static | ||
PRIVATE Boost::graph) | ||
target_set_common(translator_graph_planar) |
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,5 @@ | ||
#include "translator/Translator.h" | ||
|
||
std::unique_ptr<Translator> GraphPlanarTranslator() { | ||
return nullptr; | ||
} |
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,129 @@ | ||
bb(0) | ||
bb(1) | ||
bb(2) | ||
bb(3) | ||
bb(4) | ||
bb(5) | ||
bb(6) | ||
bb(7) | ||
bb(8) | ||
bb(9) | ||
bb(A) | ||
bb(B) | ||
bb(C) | ||
bb(D) | ||
bb(E) | ||
bb(F) | ||
bb(G) | ||
bb(H) | ||
bb(I) | ||
bb(J) | ||
bb(K) | ||
bb(L) | ||
bb(M) | ||
bb(N) | ||
bb(O) | ||
bb(P) | ||
bb(Q) | ||
bb(R) | ||
bb(S) | ||
bb(T) | ||
bb(U) | ||
bb(V) | ||
bb(W) | ||
bb(X) | ||
bb(Y) | ||
bb(Z) | ||
bb(a) | ||
bb(b) | ||
bb(c) | ||
bb(d) | ||
bb(e) | ||
bb(f) | ||
bb(g) | ||
bb(h) | ||
bb(i) | ||
bb(j) | ||
bb(k) | ||
bb(l) | ||
bb(m) | ||
bb(n) | ||
bb(o) | ||
bb(p) | ||
bb(q) | ||
bb(r) | ||
bb(s) | ||
bb(t) | ||
bb(u) | ||
bb(v) | ||
bb(w) | ||
bb(x) | ||
bb(y) | ||
bb(z) | ||
|
||
mathbb(0) | ||
mathbb(1) | ||
mathbb(2) | ||
mathbb(3) | ||
mathbb(4) | ||
mathbb(5) | ||
mathbb(6) | ||
mathbb(7) | ||
mathbb(8) | ||
mathbb(9) | ||
mathbb(A) | ||
mathbb(B) | ||
mathbb(C) | ||
mathbb(D) | ||
mathbb(E) | ||
mathbb(F) | ||
mathbb(G) | ||
mathbb(H) | ||
mathbb(I) | ||
mathbb(J) | ||
mathbb(K) | ||
mathbb(L) | ||
mathbb(M) | ||
mathbb(N) | ||
mathbb(O) | ||
mathbb(P) | ||
mathbb(Q) | ||
mathbb(R) | ||
mathbb(S) | ||
mathbb(T) | ||
mathbb(U) | ||
mathbb(V) | ||
mathbb(W) | ||
mathbb(X) | ||
mathbb(Y) | ||
mathbb(Z) | ||
mathbb(a) | ||
mathbb(b) | ||
mathbb(c) | ||
mathbb(d) | ||
mathbb(e) | ||
mathbb(f) | ||
mathbb(g) | ||
mathbb(h) | ||
mathbb(i) | ||
mathbb(j) | ||
mathbb(k) | ||
mathbb(l) | ||
mathbb(m) | ||
mathbb(n) | ||
mathbb(o) | ||
mathbb(p) | ||
mathbb(q) | ||
mathbb(r) | ||
mathbb(s) | ||
mathbb(t) | ||
mathbb(u) | ||
mathbb(v) | ||
mathbb(w) | ||
mathbb(x) | ||
mathbb(y) | ||
mathbb(z) | ||
|
||
bb(0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z) | ||
|
||
bb(0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz) |
Oops, something went wrong.