Post AvZ3enWkfoLC5VuNAe by [email protected] | |
More posts by [email protected] | |
Post #AvYr0Hasmabm0zkrgW by [email protected] | |
0 likes, 1 repeats | |
If you're getting into programming language development and writing parsers… | |
Post #AvZ1D6hXajgVXRcgkK by [email protected] | |
0 likes, 0 repeats | |
@eniko Alternatively, don't use a parser! I'm currently working on an a… | |
Post #AvZ1D6nvD0mxrEbmgy by [email protected] | |
0 likes, 0 repeats | |
@Aradayn how does one make a compiler without a parser? >_> | |
Post #AvZ1D6tarvKG8pGJX6 by [email protected] | |
0 likes, 0 repeats | |
@eniko Basically, you store the AST in a data format that's not intended to… | |
Post #AvZ1D6zGWprYQPuqNE by [email protected] | |
0 likes, 0 repeats | |
@Aradayn i did make the IR a lisp so that i wouldn't have to do any fancy p… | |
Post #AvZ1D75IAQgQj6jelc by [email protected] | |
0 likes, 0 repeats | |
@eniko Another thing I realized after embarking on this quest is that parsers a… | |
Post #AvZ1F19dBaGeujfmue by [email protected] | |
0 likes, 0 repeats | |
@eniko unless you're doing retro and have to do everything in 16 bytes of R… | |
Post #AvZ1FMXnev4vFm8t04 by [email protected] | |
0 likes, 0 repeats | |
@eniko this can be generalized to "don't copy any decision made by C a… | |
Post #AvZ1GsGhC9FXvwrYOG by [email protected] | |
0 likes, 0 repeats | |
@eniko perhaps 30 years ago "single pass" was a selling point. Today?… | |
Post #AvZ1GsNQn6daGq0vtA by [email protected] | |
0 likes, 0 repeats | |
@reidrac @eniko Ah Turbo Pascal, a lot more than 30 years ago but then most Pa… | |
Post #AvZ1GsTSQhSSZWpkHY by [email protected] | |
0 likes, 0 repeats | |
@simon_lucy @eniko I've read a couple of compiler books by Wirth and he was… | |
Post #AvZ1GsZq2yYutJoqEC by [email protected] | |
0 likes, 0 repeats | |
@reidrac @eniko He explicitly designed Pascal to do that but then Pascal was a … | |
Post #AvZ1GsgDfFfND6nwAq by [email protected] | |
0 likes, 0 repeats | |
@simon_lucy @eniko I keep thinking it was a different time, computers had less … | |
Post #AvZ1GslXLTv5TbIBSi by [email protected] | |
0 likes, 0 repeats | |
@reidrac @eniko I think it's a truism that it's the limits you work wit… | |
Post #AvZ1IVoXeLKssATVfU by [email protected] | |
0 likes, 0 repeats | |
@Aradayn huh, that's an interesting way of looking at it | |
Post #AvZ1IVvzCfI5FFxSGu by [email protected] | |
0 likes, 0 repeats | |
@eniko@AradaynSo basically we skip parsing by using projecting text editors? Th… | |
Post #AvZ1IW2MowOXZ2wYDY by [email protected] | |
0 likes, 0 repeats | |
@blackcoffeerider Yeah, that's the "hard UI" part. | |
Post #AvZ1IWqhnmf25AUkgC by [email protected] | |
0 likes, 0 repeats | |
@blackcoffeerider If you're curious, there are a bunch of experiments colle… | |
Post #AvZ1Ify7tYwcMn2Izo by [email protected] | |
0 likes, 0 repeats | |
@eniko Haha so much true. Also small steps are much easier to validate later.On… | |
Post #AvZ1Ig5DTCcEimLy2y by [email protected] | |
0 likes, 0 repeats | |
@exa yeah separating projects into front end (parser) and back end (IR/compiler… | |
Post #AvZ1ImVJb53cdSbtYm by [email protected] | |
0 likes, 0 repeats | |
@eniko ah yes separability in compilers, I wish there was more of it 😅 | |
Post #AvZ1T8eO71mQDVnCpk by [email protected] | |
0 likes, 0 repeats | |
@eniko recursion hell | |
Post #AvZ1WJEfDJFzumGwaW by [email protected] | |
0 likes, 0 repeats | |
@eniko agreed. But it is interesting to consider how much this depends on the l… | |
Post #AvZ1XeTPjlNC4YoObQ by [email protected] | |
0 likes, 0 repeats | |
@AradaynIf something "publicly visible" comes out of it I would be ex… | |
Post #AvZ1dD70NZROwxys4W by [email protected] | |
0 likes, 0 repeats | |
@eniko Taking lessons from erlang, an intermediate language (or series of them)… | |
Post #AvZ1fbO95h5goz8eKu by [email protected] | |
0 likes, 0 repeats | |
@enikoIt is a but like wanting to use a regex for email all in one go. The rege… | |
Post #AvZ1huHLpNcjzK3k6C by [email protected] | |
0 likes, 0 repeats | |
@Aradayn @eniko I like this!I've been also thinking PLs regarding their inf… | |
Post #AvZ1humXxOZrY4eeiu by [email protected] | |
0 likes, 0 repeats | |
@Aradayn @eniko Otoh, when loosing information density too much, I guess one lo… | |
Post #AvZ1ieHcmhAufUXbua by [email protected] | |
0 likes, 0 repeats | |
@AradaynCool - thank you! | |
Post #AvZ1iteVdtOSKoMbAG by [email protected] | |
0 likes, 0 repeats | |
@erisceleste @eniko Start a *new* language called Ↄ and make all the opposite… | |
Post #AvZ1lNqCNCFQXf16lU by [email protected] | |
0 likes, 0 repeats | |
@AradaynHey look there is MPS - I loved to play around with that at university.… | |
Post #AvZ3enWkfoLC5VuNAe by [email protected] | |
0 likes, 0 repeats | |
@Aradayn @eniko if you are direly averse to both parentheses and parsing, you c… | |
Post #AvZ3hQt3J21yjsaz3o by [email protected] | |
0 likes, 0 repeats | |
@eniko I wonder if it would be possible to come up with a PL with semantics tha… |