The lack of a formal grammar (and the ability to have one - it's not just 
that one hasn't been written yet, I'm not sure that one *could* be written 
- the grammar is basically defined only by the parser itself) is one of the 
harder problems with Julia.
I had enough problems with a simple language has a formal grammar, but was 
a LL(1) (left-recursive) grammar... you need a tool like ANTLR to parse it 
(if you want to use a parsing tool), lex/yacc can't handle it since it's 
not LALR(1).

On Wednesday, June 17, 2015 at 1:16:19 AM UTC-4, Andreas Lobinger wrote:
>
> Hello colleague,
>
> On Tuesday, June 16, 2015 at 11:16:18 PM UTC+2, Scott Jones wrote:
>>
>> Not whitespace sensitive?  I thought julia was very whitespace 
>> sensitive... blanks and newlines can make a big difference...
>> Did you just mean that julia is not sensitive to the number of 
>> tabs/blanks (1 or more)
>>
>
> try python as an example of whitespace sensitivity...
> In julia you can move around code with whitespace very far until you get 
> complaints by the parser. Newlines seem to be a part of the syntax 
> somewhere, but without formal grammar that's hard to test.
>

Reply via email to