This commit is contained in:
Roberto Alsina 2024-08-04 19:54:34 -03:00
parent 70cfbef572
commit 696227a935

View File

@ -3,6 +3,7 @@ require "json"
require "xml"
require "./rules"
require "./actions"
module Tartrazine
VERSION = "0.1.0"
@ -24,8 +25,6 @@ module Tartrazine
end
end
alias Token = NamedTuple(type: String, value: String)
LEXERS = {} of String => Tartrazine::Lexer
@ -168,7 +167,6 @@ macro xml_to_a(node, name)
{{node}}.children.select{|n| n.name == "{{name}}".lstrip("_")}.map {|n| n.content.to_s}
end
# # #<Regex::Error:Regex match error: match limit exceeded>
# next if testname == "tests/fortran/test_string_cataback.txt"
@ -194,4 +192,3 @@ end
# next if "tests/c/test_string_resembling_decl_end.txt" == testname
# next if "tests/mcfunction/data.txt" == testname
# next if "tests/mcfunction/selectors.txt" == testname