]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.scl.compiler/scl/SCL/Environment.scl
New trend axis mode SingleAxisShowLegends
[simantics/platform.git] / bundles / org.simantics.scl.compiler / scl / SCL / Environment.scl
1 include "./ModuleRepository"
2
3 importJava "org.simantics.scl.compiler.environment.Environment" where
4     data Environment
5
6 importJava "org.simantics.scl.compiler.runtime.RuntimeEnvironment" where
7     data RuntimeEnvironment
8
9 importJava "org.simantics.scl.compiler.environment.specification.EnvironmentSpecification" where
10     data EnvironmentSpecification
11     
12     fromList :: [(String,String)] -> EnvironmentSpecification
13
14 importJava "org.simantics.scl.compiler.module.repository.ModuleRepository" where
15     @JavaName createRuntimeEnvironment
16     createRuntimeEnvironment_ :: ModuleRepository -> EnvironmentSpecification -> <Proc> RuntimeEnvironment
17     
18 createRuntimeEnvironment :: [(String,String)] -> <Proc> RuntimeEnvironment
19 createRuntimeEnvironment = createRuntimeEnvironment_ MODULE_REPOSITORY . fromList