@gdotdesign during source map implementation I have changed how indentation works in compilers (didn't touch formatters!). There is one I am not sure about though.
Have a look at this one: https://github.com/mint-lang/mint/blob/master/spec/compilers/directives/format
Line 19 (the "Bello" part) continues string without indentation. Does it have to be that way? Or is it okay to change the test?
hi, I'm not sure if this is a known issue already (I couldn't find any open issues about it), but currently, trying to pipe to an anonymous function causes a syntax error in the JavaScript output; the following code
3
|> (n : Number) : Bool { true }
is compiled to
(o) => {
return true
}(3)
in the debugger line 95 hits first and both max
and cur
are undefined. Later debugger hits line 92 and cur
is already defined but max
not yet.
So this works perfectly fine because debugger doesn't care about the order. But maybe we would like to remove the sorting for this purpose?
try
sequence
and parallel
statements
max
is resolved before cur
max.top - cur.top
Thanks for the new update ! :)
My loot app is now updated with the suffix :bomb:
https://titan.ori-brain.fr/
Without mint lang, I don't think this app would exists, because it helped me a lot !