Skip to content

Commit

Permalink
prolog
Browse files Browse the repository at this point in the history
  • Loading branch information
goosedb committed Oct 19, 2019
1 parent f23aa63 commit ffe4e20
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
19 changes: 19 additions & 0 deletions resources/prolog.ascii
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

-/oydmNNNNNNNmdh: yh+
:smNNNNNNNNNNNNNNNN+ yhhhh+.
`+mNNNNNNNNNNNNNNNNNNN+ yNNNNNNy-
/mNNNNNNNNNNNNNNNNNNNNN+ yNNNNNNNNs`
sNNNNNNNNNNNNNNNNNNNNNNN+ yNNNNNNNNNd.
sNNNNNNNNNdso++oydNNNNNNN+ yNNNNNNNNNNd.
/NNNNNNNNs..+s+. .sNNNNN+ yNNNNNNNNNNNy
hNNNNNNN/ smN+ . /NNNN+ yNNNNNNNNNNNN-
NNNNNNNd +NNNo y+ hNNN+ yNNNNNNNNNNNN+
NNNNNNNs +mNNNds+sdN+ yNNNs sNNNNNNNNNNNN+
hNNNNNNs `sNNNNNNNNs :NNNNm. `smNNNNNNNNNN-
:NNNNNNs .+yhhs+.`omNNNNNm/ `.---oNNNNh
sNNNNNs -++++ooshNNNNNNNNNNmyo++++yyyym.
sNNNNs oNNNNNNNNNNNNNNNNNNNNNNNNNNNNd.
/ooos oNNNNNNNNNNNNNNNNNNNNNNNNNNNs`
oos oNNNNNNNNNNNNNNNNNNNNNNNNNy-
os -smNNNNNNNNNNNNNNNNNNNmh+.
-/oydmNNNNNNNmdhs+:`
6 changes: 6 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ enum Language {
Lua,
Nim,
ObjectiveC,
Prolog,
PureScript,
Python,
R,
Expand Down Expand Up @@ -426,6 +427,7 @@ impl fmt::Display for Language {
Language::Lua => write!(f, "Lua"),
Language::Nim => write!(f, "Nim"),
Language::ObjectiveC => write!(f, "Objective-C"),
Language::Prolog => write!(f, "Prolog"),
Language::PureScript => write!(f, "PureScript"),
Language::Python => write!(f, "Python"),
Language::R => write!(f, "R"),
Expand Down Expand Up @@ -949,6 +951,7 @@ impl From<tokei::LanguageType> for Language {
tokei::LanguageType::Lua => Language::Lua,
tokei::LanguageType::Nim => Language::Nim,
tokei::LanguageType::ObjectiveC => Language::ObjectiveC,
tokei::LanguageType::Prolog => Language::Prolog,
tokei::LanguageType::PureScript => Language::PureScript,
tokei::LanguageType::Python => Language::Python,
tokei::LanguageType::R => Language::R,
Expand Down Expand Up @@ -994,6 +997,7 @@ fn get_all_language_types() -> Vec<tokei::LanguageType> {
tokei::LanguageType::Lua,
tokei::LanguageType::Nim,
tokei::LanguageType::ObjectiveC,
tokei::LanguageType::Prolog,
tokei::LanguageType::PureScript,
tokei::LanguageType::Python,
tokei::LanguageType::R,
Expand Down Expand Up @@ -1045,6 +1049,7 @@ impl Info {
Language::Lua => include_str!("../resources/lua.ascii"),
Language::Nim => include_str!("../resources/nim.ascii"),
Language::ObjectiveC => include_str!("../resources/objectivec.ascii"),
Language::Prolog => include_str!("../resources/prolog.ascii"),
Language::PureScript => include_str!("../resources/purescript.ascii"),
Language::Python => include_str!("../resources/python.ascii"),
Language::R => include_str!("../resources/r.ascii"),
Expand Down Expand Up @@ -1097,6 +1102,7 @@ impl Info {
Language::Lua => vec![Color::Blue],
Language::Nim => vec![Color::Yellow, Color::BrightWhite],
Language::ObjectiveC => vec![Color::BrightBlue, Color::Blue],
Language::Prolog => vec![Color::White],
Language::PureScript => vec![Color::White],
Language::Python => vec![Color::Blue, Color::Yellow],
Language::R => vec![Color::White, Color::Blue],
Expand Down

0 comments on commit ffe4e20

Please sign in to comment.