Oh, what a wonderful background narrative by the man Aho himself, thank you for the link.
And it's good to see Donald Knuth coming up, with his LALR algorithm and his always-pertinent practice-theory maxim.
Oh, what a wonderful background narrative by the man Aho himself, thank you for the link.
And it's good to see Donald Knuth coming up, with his LALR algorithm and his always-pertinent practice-theory maxim.
Ultimately, I published a third programming language called PeachLang, another simple interpreted language built in Ruby using Racc (the Ruby version of Yacc/Bison).
https://github.com/pH-7/PeachLang
#passion #programminglanguage #interpretedLanguage #Racc #Yacc #Bison
Experimenting with Yacc and Zig. #zig #yacc
https://github.com/etnt/cfg
@davidonformosa it's sad that #HongKong has become #YACC (Yet another Chinese City), but the #CCP is just afraid of anything different and just will do everything to stomp it down.
Useful tools that you would use if you want to create a compiler, a transpiler or you just want to interpret a formal language in C#
#csharp #visualstudio #lex #yacc #DotNet
https://devnotes.ernstc.net/yacclextools
Fabriquez vos propres compilateurs en Ada avec Aflex et Ayacc
Stéphane vous explique le contenu des dernières versions de ces deux logiciels avec un focus sur la "réentrance".
Bonne lecture
Wonderful:
"Why Split Lexing And Parsing Into Two Separate Phases?", Laurence Tratt (https://tratt.net/laurie/blog/2023/why_split_lexing_and_parsing_into_two_separate_phases.html).
Via HN: https://news.ycombinator.com/item?id=35798829
#Lexing #Parsing #RegEx #RegularExpressions #Compilers #Interpreters #Lex #Yacc #grmtools #Rust #Programming #Grammar
Now here is a nice project to expand your programming horizon. It is a "compiler compiler" in the tradition of flex and yacc:
https://github.com/jzimmerman/langcc
Here is the (dense) paper about the design and the features:
Задался ту вопросом: есть ли обобщенный формат .conf файлов в #OpenBSD? Ведь, например, acme-client.conf(5) чертовски похож на какой-нибудь httpd.conf(5)!
Нашел вот такой ответ на reddit’е (мой вольный перевод):
Ребята из OpenBSD пишут свои собственные парсеры форматов конфигурации, используя #yacc
Примеры грамматик можно посмотреть так:
“Parser Generators Vs. Handwritten Parsers: Surveying Major Language Implementations In 2021”, Phil Eaton (https://notes.eatonphil.com/parser-generators-vs-handwritten-parsers-survey-2021.html).
Via HN: https://news.ycombinator.com/item?id=28258945
#Parser #ParserGenerator #PLDI #Compiler #YACC #PEG #RecursiveDescent #Programming
Good blog series on how Ruby constructs its syntax tree. #ruby #bison #yacc #flex
https://halogenandtoast.com/reconstructing-ruby-our-first-lexer/
(1) Can anyone help to clear this up (it’s only a trivial issue)? #GNU #software names are usually #puns or other plays on words of existing #proprietary or other #programs and so we have things like #bison for #yacc, #icecat for #firefox, etc. An interesting one #SPSS which is replaced by #PSPP with they simple substitution of S for P and P for S.
@amiloradovsky Any examples of cases where you've been glad you used #Lex / #Yacc instead of #ANTLR or creating your own recursive descent parser?