Click here to Skip to main content
14,326,246 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralRe: still here (more or less) Pin
Rage17-Jul-19 1:01
professionalRage17-Jul-19 1:01 
GeneralRe: still here (more or less) Pin
Peter_in_278017-Jul-19 1:04
professionalPeter_in_278017-Jul-19 1:04 
GeneralRe: still here (more or less) Pin
Rage17-Jul-19 1:31
professionalRage17-Jul-19 1:31 
GeneralRe: still here (more or less) Pin
V.17-Jul-19 20:53
professionalV.17-Jul-19 20:53 
GeneralRe: still here (more or less) Pin
Rage17-Jul-19 23:50
professionalRage17-Jul-19 23:50 
GeneralRe: still here (more or less) Pin
Tachyonx17-Jul-19 1:28
memberTachyonx17-Jul-19 1:28 
GeneralRe: still here (more or less) Pin
V.17-Jul-19 20:45
professionalV.17-Jul-19 20:45 
Generalswimming out past the markers Pin
honey the codewitch16-Jul-19 9:50
memberhoney the codewitch16-Jul-19 9:50 
... into deep water.

So I recently produced this tutorial on building LL(1) parsers

Trying to make a parser using a variant of LL(k) w/ state machines instead of parse tables and I can't find readable documentation on LL(k) parsing at all so I've had to figure it out myself.

Forget you berkeley profs. I don't need your CS164 course. I have my grit and determination.

The state machine thing is pretty neat though. I've got it working for LL(1) and theoretically beyond. It's *building* the state machine past LL(1) that I need to figure out.

There's no documentation for doing things this way. There's no tutorial. The math is *hard*. Even if you think about it in code instead of math more readily, the code is *hard*

It's very clever though. When I finish it I'll feel like a hero Laugh | :laugh:

Edit: I think I just built an LL(*) parser after shelving the above method (at least at the moment) though this version backtracks, and I don't like that much
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.


modified 17-Jul-19 1:19am.

GeneralRe: swimming out past the markers Pin
RickZeeland16-Jul-19 10:02
mveRickZeeland16-Jul-19 10:02 
GeneralRe: swimming out past the markers Pin
honey the codewitch16-Jul-19 10:19
memberhoney the codewitch16-Jul-19 10:19 
GeneralRe: swimming out past the markers Pin
Chris Maunder16-Jul-19 13:45
adminChris Maunder16-Jul-19 13:45 
GeneralRe: swimming out past the markers Pin
honey the codewitch16-Jul-19 14:01
memberhoney the codewitch16-Jul-19 14:01 
GeneralRe: swimming out past the markers Pin
BillWoodruff16-Jul-19 21:02
mveBillWoodruff16-Jul-19 21:02 
GeneralRe: swimming out past the markers Pin
honey the codewitch17-Jul-19 2:54
memberhoney the codewitch17-Jul-19 2:54 
GeneralRe: swimming out past the markers Pin
BillWoodruff17-Jul-19 22:48
mveBillWoodruff17-Jul-19 22:48 
GeneralRe: swimming out past the markers Pin
honey the codewitch17-Jul-19 22:50
memberhoney the codewitch17-Jul-19 22:50 
GeneralRe: swimming out past the markers Pin
BillWoodruff17-Jul-19 22:54
mveBillWoodruff17-Jul-19 22:54 
GeneralRe: swimming out past the markers Pin
honey the codewitch17-Jul-19 22:59
memberhoney the codewitch17-Jul-19 22:59 
GeneralRe: swimming out past the markers Pin
BillWoodruff17-Jul-19 23:23
mveBillWoodruff17-Jul-19 23:23 
GeneralRe: swimming out past the markers Pin
honey the codewitch17-Jul-19 23:25
memberhoney the codewitch17-Jul-19 23:25 
General.Net Remoting, is it still relevant? Pin
GKP199216-Jul-19 5:14
professionalGKP199216-Jul-19 5:14 
GeneralRe: .Net Remoting, is it still relevant? Pin
F-ES Sitecore16-Jul-19 5:22
mveF-ES Sitecore16-Jul-19 5:22 
GeneralRe: .Net Remoting, is it still relevant? Pin
CodeWraith16-Jul-19 5:30
memberCodeWraith16-Jul-19 5:30 
GeneralRe: .Net Remoting, is it still relevant? Pin
CodeWraith16-Jul-19 5:28
memberCodeWraith16-Jul-19 5:28 
GeneralRe: .Net Remoting, is it still relevant? Pin
raddevus16-Jul-19 5:31
mvaraddevus16-Jul-19 5:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.