Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
FYI, the more the number of states, the more the complexity. Number of states can often differentiate good and bad design
-
matanl26448y@frozentruth states can be nested for better simpler designs, i.e. X big general states, and each having Y smaller ones
-
OrestH7488yWiki tells that it's string processor
DAFUCK? PROCESS STRING WITH DAT SHIT? IT'S A SHOT IN A LEG! -
matanl26448yGuys calm down it's just what a regex is evaluated to, no need to panic
*kernel panic* -
Someone28988yBTW, I'm creating a C function definition DFA. And so far, I've only accomplished variable declaration, operations, pointers and return statements. And yes, it was a fucking mess to make, and I'm still going to create the automata for the rest of the C syntax.
-
Someone28988y@--hi-- For those who are wondering, I used codes for the inputs, (e.g. T for type, V for variable, C for comma, S for semis, etc etc). Cause I'm too lazy to type the full word.
-
matanl26448y@--hi-- it's a joke right? C's syntax is not regular, you can't even check whether you have a closing paranthesis using a finite automata
-
@matanl True, you need regular expressions to validate the tokens ands a grammar to validate the semantics of the language
-
matanl26448y@milkbytes oh right.. I remember writing bison declarations in our university's compilers course
Related Rants
KILL ME. π΅
undefined
automata
dfa
c syntax