Click here to Skip to main content
15,301,841 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: I love when that happens! Pin
honey the codewitch23-Oct-21 8:02
mvahoney the codewitch23-Oct-21 8:02 
GeneralRe: I love when that happens! Pin
Nelek23-Oct-21 9:18
protectorNelek23-Oct-21 9:18 
GeneralRe: I love when that happens! Pin
jschell24-Oct-21 7:03
Memberjschell24-Oct-21 7:03 
GeneralRe: I love when that happens! Pin
honey the codewitch24-Oct-21 7:23
mvahoney the codewitch24-Oct-21 7:23 
GeneralRe: I love when that happens! Pin
jschell23-Dec-21 5:18
Memberjschell23-Dec-21 5:18 
GeneralRe: I love when that happens! Pin
honey the codewitch23-Dec-21 5:21
mvahoney the codewitch23-Dec-21 5:21 
GeneralRe: I love when that happens! Pin
englebart25-Oct-21 7:19
professionalenglebart25-Oct-21 7:19 
GeneralRe: I love when that happens! Pin
honey the codewitch25-Oct-21 7:25
mvahoney the codewitch25-Oct-21 7:25 
If you take a look at Reggie: A Non-Backtracking Streaming Regular Expression Code Generator[^] you'll see that since the state machines end up compiled, the input states are about as checked as they're going to get.

In this way you dictate the state machine specs, it then creates an in memory digraph of the states, which it then does some transformations on before compiling into code, at which point *everything* is compiled - in this case into goto tables - one label for each state. Although it can also generate a table/array based matcher

Because of how that works, your solution actually doesn't actually fit that particular application (and this is how i most often use them). Because it goes spec->state-machine->code, not spec->coded-state-machine

At least if I understand you.
Real programmers use butterflies

GeneralMy takeaway from Arden's Theorem. Pin
honey the codewitch22-Oct-21 7:44
mvahoney the codewitch22-Oct-21 7:44 
GeneralRe: My takeaway from Arden's Theorem. Pin
PIEBALDconsult22-Oct-21 8:04
professionalPIEBALDconsult22-Oct-21 8:04 
GeneralRe: My takeaway from Arden's Theorem. Pin
RickZeeland22-Oct-21 9:00
mveRickZeeland22-Oct-21 9:00 
GeneralRe: My takeaway from Arden's Theorem. Pin
OriginalGriff22-Oct-21 9:16
mveOriginalGriff22-Oct-21 9:16 
GeneralRe: My takeaway from Arden's Theorem. Pin
RickZeeland22-Oct-21 9:19
mveRickZeeland22-Oct-21 9:19 
GeneralRe: My takeaway from Arden's Theorem. Pin
Greg Utas22-Oct-21 10:06
mveGreg Utas22-Oct-21 10:06 
GeneralRe: My takeaway from Arden's Theorem. Pin
Cp-Coder22-Oct-21 11:23
MemberCp-Coder22-Oct-21 11:23 
GeneralRe: My takeaway from Arden's Theorem. Pin
RickZeeland22-Oct-21 19:15
mveRickZeeland22-Oct-21 19:15 
GeneralRe: My takeaway from Arden's Theorem. Pin
stoneyowl222-Oct-21 9:29
Memberstoneyowl222-Oct-21 9:29 
GeneralRe: My takeaway from Arden's Theorem. Pin
Roger Wright23-Oct-21 21:35
professionalRoger Wright23-Oct-21 21:35 
GeneralSound of the Week Pin
Sander Rossel22-Oct-21 0:13
professionalSander Rossel22-Oct-21 0:13 
GeneralRe: Sound of the Week Pin
David O'Neil22-Oct-21 7:34
professionalDavid O'Neil22-Oct-21 7:34 
GeneralRe: Sound of the Week Pin
Sander Rossel23-Oct-21 1:36
professionalSander Rossel23-Oct-21 1:36 
GeneralRe: Sound of the Week Pin
PaltryProgrammer22-Oct-21 8:07
MemberPaltryProgrammer22-Oct-21 8:07 
GeneralRe: Sound of the Week Pin
Sander Rossel23-Oct-21 1:12
professionalSander Rossel23-Oct-21 1:12 
GeneralRe: Sound of the Week Pin
PaltryProgrammer23-Oct-21 1:40
MemberPaltryProgrammer23-Oct-21 1:40 
GeneralRe: Sound of the Week Pin
PeterKM22-Oct-21 8:27
MemberPeterKM22-Oct-21 8:27 

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.


Straw Poll

On which operating systems are you writing code?
Let's see if things have changed since we last ran this. "writing code" meaning editing, building, and running the code on that OS.
  Results   666 votes