Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

I wrote a blog post about all the weird programming language syntax I encountered while building a syntax highlighter for llamafile. Read

45,159 görüntüleme • 1 yıl önce •via X (Twitter)

10 Yorum

Kevin Newton profil fotoğrafı
Kevin Newton1 yıl önce

@llamafile I wrote the new Ruby parser, and can tell you you're absolutely correct. You can't lex Ruby code without also parsing it. Specifically, the state that controls << vs heredoc is a bit nuts. Lots and lots of edge cases.

All Talk profil fotoğrafı
All Talk1 yıl önce

@llamafile Your posts are always a delight to read. Are there any languages with underspecified or ambiguous specifications?

Justine Tunney profil fotoğrafı
Justine Tunney1 yıl önce

@llamafile Ruby.

Aaron Meurer profil fotoğrafı
Aaron Meurer1 yıl önce

@llamafile Nothing about Python?

Elon Musluk profil fotoğrafı
Elon Musluk1 yıl önce

@llamafile you are a genius

Asif Shaikat profil fotoğrafı
Asif Shaikat1 yıl önce

@llamafile new version is superfast.............tanks a lot even in my cpu

morphillogical 🔍 profil fotoğrafı
morphillogical 🔍1 yıl önce

@llamafile every one of your posts is a joy, and I always learn things, so it's fun that I get to contribute back: `${expr}` syntax is in both JS and TS, (though TS people use it more)

gerooq 🍉 profil fotoğrafı
gerooq 🍉1 yıl önce

@llamafile ahh i love ape and cosmo

Guilherme Espada profil fotoğrafı
Guilherme Espada1 yıl önce

@llamafile One thing I think you might have missed, from a quick skim of the java file, 1. Unicode escapes get handled before parsing, so you can end comments with the unicode escape of "*/" for example. 2. Java has goto style labels for break and continue

Hassan Abedi 📚🌿🦉 profil fotoğrafı
Hassan Abedi 📚🌿🦉1 yıl önce

@llamafile 👀

Benzer Videolar