Logo
Explore Help
Sign In
miloignis/kraken
1
0
Fork 0
You've already forked kraken
Code Issues Pull Requests Packages Projects Releases Wiki Activity
Files
69048ebc31dd881d01a6535f90643f2d00679574
kraken/stdlib/util.krak

13 lines
163 B
Plaintext
Raw Normal View History

Fixed some bugs in Parser::firstSet and added a bit of caching. It still doesn't work quite right, though, there's some problem with nullable left recursion. However, it's better than it was, and I need to go to bed. More work later.
2014-06-30 01:57:50 -07:00
Wooo! Fixed up remaining bugs in new syntax!
2015-05-09 06:24:56 -04:00
fun greater<T>(a: T, b: T): T {
Fixed some bugs in Parser::firstSet and added a bit of caching. It still doesn't work quite right, though, there's some problem with nullable left recursion. However, it's better than it was, and I need to go to bed. More work later.
2014-06-30 01:57:50 -07:00
if (a > b)
return a;
return b;
}
Wooo! Fixed up remaining bugs in new syntax!
2015-05-09 06:24:56 -04:00
fun lesser<T>(a: T, b: T): T {
Fixed some bugs in Parser::firstSet and added a bit of caching. It still doesn't work quite right, though, there's some problem with nullable left recursion. However, it's better than it was, and I need to go to bed. More work later.
2014-06-30 01:57:50 -07:00
if (a > b)
return b;
return a;
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 22ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API