A scripting language for .NET Core
Mond.SourceGenerator
package to add this functionality to your projectpartial
or there will be a compiler errorLibrary
nested class in every class/module you boundLibrary
classes implement IMondLibrary
so you can add them to your MondState
directlyMondDebugger.ShouldBreak
will no longer be called for nearly every instruction, only on checkpoints now
DebugCheckpoint
is inserted before every statement when compiling with MondDebugInfoLevel.Full
MondModuleAttribute.BareMethods
to bind all the type's methods as standalone methods instead of nested under a module objectMond.Debugger.MondProtocolDebugger
so alternative transports can easily be madeclamp
, log(d, b)
, log10
, and pow
functions to Math
normalize
function to string prototypeMondValue.RShiftSlow
privaterequire()
on files that do not end in a line breakIMondLibrary
instances directly to MondState.Libraries
, so implementing IMondLibraryCollection
is now optionalIMondLibrary.GetDefinitions
updated with an additional parameter for MondState
MondProgram
version field a 32-bit integer, bumped versionMondValue
is now a struct instead of a classMondValue
constructors private -- use the new ``MondValue` static builder methods instead--wait
flag to the REPL which pauses scripts so you can connect a debuggerMondState.Global
property to get the global
object