@abianco88 are you volunteering to start writing the Lexer?  Feel free to post 
a link to your github repository where its happening so others can assist you.

Now that Julia is (somewhat) settled syntax the Lexer should be possible, but 
it will do nothing with types, the lexers are called lexers because they only 
recognise syntactic elements, they have no knowledge of semantics such as types 
and type annotations, thats the purpose of the uctags parsers.   This keeps 
lexers light and fast so they can be run as you type while parsers are heavier 
and do more work and generally run less often.  Highlighting of typenames in 
languages that support it is provided by the uctags typename list results being 
transferred to the lexer by Geany as if they were keywords.

I'm not sure how good a static Julia parser would be, certainly it could 
recognise function definitions (although one liners might still be a challenge) 
but for a dynamic, heavily inferred language like Julia its not going to do 
much else.  Also there is the issue that Unicode is not well supported by 
uctags and there might be issues there.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/434#issuecomment-689914548

Reply via email to