Refactor the Instruction parser into an Expression one.

Now support more arithmeric operator (mainly *, /) and recurcive bracket
This commit is contained in:
Thomas Andres Gomez 2025-02-04 18:43:05 +01:00
parent 409acf748f
commit ce51a3be0a
19 changed files with 824 additions and 448 deletions

View file

@ -28,7 +28,7 @@ typealias Server = EmbeddedServer<NettyApplicationEngine, NettyApplicationEngine
class LocalServer {
private var server: Server? = null
private val json = Json { explicitNulls = false }
private val json = Json { explicitNulls = true }
private val outgoingMessageBuffer = MutableSharedFlow<Message>()
fun create(): LocalServer {