Post AZCUezZdaOykaI4pXs by tristan957@fosstodon.org
(DIR) More posts by tristan957@fosstodon.org
(DIR) Post #AZCURMBeiKiAfDMFLk by tristan957@fosstodon.org
2023-08-28T20:21:55Z
1 likes, 0 repeats
I started working on a JSON5 parser. I've never written a parser, so I'm learning quite a bit on the fly.
(DIR) Post #AZCURtonfodCyAvTRg by deavmi@gleasonator.com
2023-08-28T20:24:01.195823Z
0 likes, 0 repeats
@tristan957 Also what is JSON5?
(DIR) Post #AZCUT4cwyJWmmYwXbs by deavmi@gleasonator.com
2023-08-28T20:23:50.610196Z
0 likes, 0 repeats
@tristan957 It’s fun man, recursive descent is da whey
(DIR) Post #AZCUelH2kjmqEZGmcS by tristan957@fosstodon.org
2023-08-28T20:24:47Z
0 likes, 0 repeats
@deavmi What is a recursive descent parser?
(DIR) Post #AZCUemNod2nXfrRhoW by deavmi@gleasonator.com
2023-08-28T20:26:20.526323Z
0 likes, 0 repeats
@tristan957 I think it is the one I implemented for TLang, it’s like the one whewhere you descend using some parse functions or something.Tbh idk the definition, all I know is this is what my parser looks like: https://github.com/tbklang/tlang/blob/vardec_varass_dependency/source/tlang/compiler/parsing/core.d
(DIR) Post #AZCUezZdaOykaI4pXs by tristan957@fosstodon.org
2023-08-28T20:25:28Z
1 likes, 0 repeats
@deavmi https://json5.org/
(DIR) Post #AZCUfYAKySXNrxVcTA by deavmi@gleasonator.com
2023-08-28T20:26:29.945766Z
0 likes, 0 repeats
@tristan957 Thanks! Let me check it out