Last active
July 4, 2018 13:11
-
-
Save NaelsonDouglas/cc113c70f4bf0ea3fb5180472a34fad9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
oprp = [+|-] | |
oprm = [/|*] | |
oprln = [not] | |
oprlr_eq = [=|!=] | |
oprlr_eq = [<|>] | |
oprlr_lgt_e = [<=|>=] | |
comma = [,] | |
o_bracket = [\[] | |
c_bracket = [\]] | |
type_str = ".*"$ | |
type_int = ^[\+|\-]?[0-9]+$ | |
type_float = {type_int}[\.]{1}[0-9]*\$ | |
id = ^[A-Z|a-z]+(\w)* | |
#TODO | |
Comandos, loops, chamadas de função | |
function reg_tostring(r::Regex) | |
regx = string(r) | |
return regx[3:length(regx)-1] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment