FSL: A programming language to make complex finite state machines easy to create
11–20 of 74 posts
Re: FSL: A programming language to make complex finite state machines easy to create
#12What's the significance of the history of Japan to this project?
Re: FSL: A programming language to make complex finite state machines easy to create
#13Re: FSL: A programming language to make complex finite state machines easy to create
#14One thing I've learned personally writing live editors is that while recompile on every key seems neat, in practice it is very jarring to have things jump around every keystroke. The problem with this is that mid-typing you may express an invalid program, so your rendered output jumps wildly from something coherent to something completely wrong, only to resolve itself when you're done typing. This is why I think it's best practice to explicitly recompile on ctrl+enter, even if you have the ability to do it every keystroke.
Re: FSL: A programming language to make complex finite state machines easy to create
#15Re: FSL: A programming language to make complex finite state machines easy to create
#16Re: FSL: A programming language to make complex finite state machines easy to create
#17Any Regular Expression can be represented as a Finite State Machine. Knowing this, I usually look at things like this because I'm hoping that someday someone will come up with a new concise & readable way of writing both regular expressions and finite state machines.
Re: FSL: A programming language to make complex finite state machines easy to create
#18How does this compare to Ragel? http://www.colm.net/open-source/ragel/
From playing with it a bit, the differences I see... Ragel compiles its source into a separate file in the target language (C, Ruby, ASM, etc). FSL instead has a library that parses and runs the FSL source at run time. Ragel supports (or plans to support) C, C++, ASM, Objective C, D, Go, Ruby, and Java. FSL supports (or plans to support) Javascript, C and Erlang. The live editor does seem to be somewhat unique to FSL…
Re: FSL: A programming language to make complex finite state machines easy to create
#19Re: FSL: A programming language to make complex finite state machines easy to create
#20Any Regular Expression can be represented as a Finite State Machine. Knowing this, I usually look at things like this because I'm hoping that someday someone will come up with a new concise & readable way of writing both regular expressions and finite state machines.
Many real world string pattern matching engines (regexes) implement features that can't be expressed using regular languages. Backreferences or any context sensitive extensions are not really regal expressions in that sense.