Skip to content

Commit

Permalink
Add Lua ascii logo
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Dipi committed Oct 30, 2018
1 parent 61a223b commit f346b25
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
39 changes: 39 additions & 0 deletions resources/lua.ascii
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
========
=== === ,,,,,,,
== == ,,,,,,,,,,,
= ,,,,,,,,,,,,,
= ,,,,,,,,,,,,,
= ,,,,,,,,,,,,, ,,,,,,,,,,,,,
= ,,,,,,,,,,,,,,,,,,,,, ,,,,,,,,,,,,,
= ,,,,,,,,,,,,,,,,,,,,,,,,, ,,,,,,,,,,,
= ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, ,,,,,,,
= ,,,,,,,,,,,,,,,,,,,,,,,, ,,,,, =
= ,,,,,,,,,,,,,,,,,,,,,,, ,,,, =
= ,,,,,,,,,,,,,,,,,,,,,,, ,,,, =
= ,,,,,,,,,,,,,,,,,,,,,,, ,,,, =
= ,,,,,,,,,,,,,,,,,,,,,,, ,,,, =
= ,,,,,,,,,,,,,,,,,,,,,,,, ,,,,, =
= ,,,,,,,,,,,,,,,,,,,,,,,,,, ,,,,,,, =
= ,,,,,,,,,,,,,,,,,,,,,,,,,,, ,,,,,,,, =
= ,,,,,,, ,,,,,,,,,,,,,,,,,,,,, ,,,,,,,,,,, =
= ,,,,,,, ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, =
= ,,,,,,, ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, =
= ,,,,,,, ,,,,,,,,, ,,,,, ,,, ,,,,,,,, =
= ,,,,,,, ,,,,,,,,, ,,,,, ,,, ~,,,, ,,,,,,, =
= ,,,,,,, ,,,,,,,,, ,,,,, ,,,,,,,,, ,,,,,,, =
= ,,,,,,, ,,,,,,,,, ,,,,, ,,, ,,,,,,, =
= ,,,,,, ,,,,,,,,, ,,,,, ,, ,,,,, ,,,,,, =
= ,,,,, ,,,,,,,,, ,,,, ,, ,,,,, ,,,,, =
= ,,,,, ,,, , ,,, =: ,,,, =
= ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, =
= ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, =
= ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, =
= :,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, =
= ,,,,,,,,,,,,,,,,,,,,,,,,, =
= ,,,,,,,,,,,,,,,,,,,,, =
= ,,,,,,,,,,,,, =
= =
= =
== ==
=== ===
=======
6 changes: 6 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ enum Language {
Haskell,
Java,
Lisp,
Lua,
Python,
R,
Ruby,
Expand All @@ -103,6 +104,7 @@ fn get_color(l: &Language) -> &str {
Language::Haskell => "cyan",
Language::Java => "green",
Language::Lisp => "yellow",
Language::Lua => "blue",
Language::Python => "magenta",
Language::R => "blue",
Language::Ruby => "magenta",
Expand All @@ -124,6 +126,7 @@ impl fmt::Display for Language {
Language::Haskell => write!(f, "Haskell"),
Language::Java => write!(f, "Java"),
Language::Lisp => write!(f, "Lisp"),
Language::Lua => write!(f, "Lua"),
Language::Python => write!(f, "Python"),
Language::R => write!(f, "R"),
Language::Ruby => write!(f, "Ruby"),
Expand Down Expand Up @@ -293,6 +296,7 @@ impl From<tokei::LanguageType> for Language {
tokei::LanguageType::Haskell => Language::Haskell,
tokei::LanguageType::Java => Language::Java,
tokei::LanguageType::Lisp => Language::Lisp,
tokei::LanguageType::Lua => Language::Lua,
tokei::LanguageType::Python => Language::Python,
tokei::LanguageType::R => Language::R,
tokei::LanguageType::Ruby => Language::Ruby,
Expand All @@ -315,6 +319,7 @@ fn get_all_language_types() -> Vec<tokei::LanguageType> {
tokei::LanguageType::Haskell,
tokei::LanguageType::Java,
tokei::LanguageType::Lisp,
tokei::LanguageType::Lua,
tokei::LanguageType::Python,
tokei::LanguageType::R,
tokei::LanguageType::Ruby,
Expand All @@ -336,6 +341,7 @@ impl Info {
Language::Haskell => include_str!("../resources/haskell.ascii"),
Language::Java => include_str!("../resources/java.ascii"),
Language::Lisp => include_str!("../resources/lisp.ascii"),
Language::Lua => include_str!("../resources/lua.ascii"),
Language::Python => include_str!("../resources/python.ascii"),
Language::R => include_str!("../resources/r.ascii"),
Language::Ruby => include_str!("../resources/ruby.ascii"),
Expand Down

0 comments on commit f346b25

Please sign in to comment.