News for hackers. Stuff that matters.
Re:Finite State Machines in Forth (1995) by hangonhn on Wednesday April 01, 2020 @03:01PM (#22752369)
FSM is something I've always been curious about but I can't seem to find any good intro on. Does anyone have a good recommendations? I sort of don't want one tied to a specific language but rather one that helps me understand it from a conceptual level.

Thanks!

Re:Finite State Machines in Forth (1995) by DonHopkins on Thursday April 02, 2020 @03:00AM (#22756839)
I hope this book puts you on the right path, Brothers and Sisters.

https://en.wikipedia.org/wiki/The_Gospel_of_the_Flying_Spagh...

Re:Finite State Machines in Forth (1995) by pstuart on Thursday April 02, 2020 @12:45PM (#22760896)
Ramen!
Re:Finite State Machines in Forth (1995) by bear8642 on Wednesday April 01, 2020 @05:42PM (#22753818)
Hopcroft Ullman's Introduction to Automata Theory, Languages and Computation has good section on state machines and their connection to Regular Expressions
Re:Finite State Machines in Forth (1995) by WhyNott on Thursday April 02, 2020 @01:36AM (#22756509)
So I searched and I found that my library has a book with this exact title, but by a guy named Shyamalendu Kandar. I've read the introduction and the preface, and nothing suggests it has any direct influence or relation to the book you are describing. Maybe its just a coincidence, though it does seem slightly fishy.
Re:Finite State Machines in Forth (1995) by jjtheblunt on Wednesday April 01, 2020 @06:29PM (#22754172)
That book is amazing. I donated mine to my hometown library maybe 20 years ago, or more, but should have kept it.
Re:Finite State Machines in Forth (1995) by hangonhn on Wednesday April 01, 2020 @07:13PM (#22754548)
Thank you!!! Its relationship to regex is actually precisely the part that piqued my interest.
Re:Finite State Machines in Forth (1995) by brudgers on Wednesday April 01, 2020 @08:23PM (#22755014)
With automata theory it’s useful to be pedantic. What people ordinarily mean by “regex” are in different classes of automata from regular expressions as equivalent to finite state machines. For example Perl capture groups, look ahead, and backtracking are beyond what a finite state machine or its equivalent regular expression is capable of. Though for me the simplicity of the FSM is a big part its intellectual appeal.
Re:Finite State Machines in Forth (1995) by qtplatypus on Wednesday April 01, 2020 @09:37PM (#22755446)
This book is great. It opened my mind how powerful regular expressions could be.
Re:Finite State Machines in Forth (1995) by coupdejarnac on Wednesday April 01, 2020 @03:42PM (#22752801)
Any intro level logic design textbook should have a discussion of state machines. My copy of Bebop to the Boolean Boogie has a few pages about them. That's a good freshman level EE book.
Re:Finite State Machines in Forth (1995) by bp0017 on Wednesday April 01, 2020 @04:53PM (#22753372)
If you're looking for a more theoretical overview, the first chapter of Sipster's Introduction to the Theory of Computation is a really solid into to FSA and automata in general.
Re:Finite State Machines in Forth (1995) by basementcat on Wednesday April 01, 2020 @03:15PM (#22752524)
The first example is a machine with two states.

https://en.wikipedia.org/wiki/Finite-state_machine

From there you can deep dive into subjects like digital logic and automata theory.

Re:Finite State Machines in Forth (1995) by davidkpiano on Wednesday April 01, 2020 @07:44PM (#22754747)