Re:A Modern Compiler for the French Tax Code
by rozab on Wednesday November 25, 2020 @09:41AM
(#25209678)
The languages breakdown is interesting. It seems GitHub refuses to admit defeat and categorises the .m files into various other languages which use the extension (M, MATLAB, Objective-C, Mathematica and Mercury). I wonder if they use some sort of fuzzy ML solution for categorising them rather than conventional parsing.
[ Parent
| on HN ]
Re:A Modern Compiler for the French Tax Code
by remram on Wednesday November 25, 2020 @10:02AM
(#25209919)
Wonder no more! https://github.com/github/linguist/blob/7c2adbdb15d4efd25d92...
As most AI, it's regex and ifs all the way down.
Re:A Modern Compiler for the French Tax Code
by nolok on Wednesday November 25, 2020 @10:57AM
(#25210544)
> As most AI, it's regex and ifs all the way down.
This made me laugh way more than expected, mostly because of how true it is.
Re:A Modern Compiler for the French Tax Code
by rozab on Wednesday November 25, 2020 @12:43PM
(#25211891)
These incredibly vague regexes are hilarious. But I guess if it works, it works (until it doesn't)