1 include "./ModuleRepository"
3 importJava "org.simantics.scl.compiler.environment.Environment" where
6 importJava "org.simantics.scl.compiler.runtime.RuntimeEnvironment" where
7 data RuntimeEnvironment
9 importJava "org.simantics.scl.compiler.environment.specification.EnvironmentSpecification" where
10 data EnvironmentSpecification
12 fromList :: [(String,String)] -> EnvironmentSpecification
14 importJava "org.simantics.scl.compiler.module.repository.ModuleRepository" where
15 @JavaName createRuntimeEnvironment
16 createRuntimeEnvironment_ :: ModuleRepository -> EnvironmentSpecification -> <Proc> RuntimeEnvironment
18 createRuntimeEnvironment :: [(String,String)] -> <Proc> RuntimeEnvironment
19 createRuntimeEnvironment = createRuntimeEnvironment_ MODULE_REPOSITORY . fromList