diff --git a/README.md b/README.md index 3fdf094..c9180b2 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Rincewind compiler +![Rincewind](https://equilaterus.com/assets/img/projects/rincewind.png) + Rincewind is a magic machine built by druids, it can talk with anyone in any language. This compiler pronounce the enchanted words that allows you to talk with this machine without being evaporated. Say something wise, the elders are waiting. diff --git a/Rincewind/lexer.l b/Rincewind/lexer.l index f40eff7..f8ae0fd 100644 --- a/Rincewind/lexer.l +++ b/Rincewind/lexer.l @@ -73,7 +73,7 @@ digits [0-9]+ identifier [$][_]?[a-zA-Z][a-zA-Z_0-9]* label [#]+[ ]?[a-zA-Z][a-zA-Z_0-9]* full_text "`"[a-zA-Z0-9 ',.?!$%#*]+"`" -text [a-zA-Z',.?!][a-zA-Z ',.?!]+ +text [a-zA-Zñáéíóú',.¿?¡!][a-zA-Z ñáéíóú',.¿?¡!]+ ignored [ \n\t\r] %%