This PR includes tutorial-related APIs. Those APIs only work in Turtle Universe, but we have dummy implementations for NetLogo Web, which will print a log in the command center. There are also simple tests to ensure those commands won't cause any error in NetLogo Web.
There's something new in BrowserCompiler. We use a new variable lastCompiledModel to do the cache. So it would shorten compilation time for an additional command, reporter, raw command, or procedure. All these things are used in Turtle Universe and may not influence NetLogo Web.
This PR includes tutorial-related APIs. Those APIs only work in Turtle Universe, but we have dummy implementations for NetLogo Web, which will print a log in the command center. There are also simple tests to ensure those commands won't cause any error in NetLogo Web.
There's something new in
BrowserCompiler
. We use a new variablelastCompiledModel
to do the cache. So it would shorten compilation time for an additional command, reporter, raw command, or procedure. All these things are used in Turtle Universe and may not influence NetLogo Web.