All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jtransc.gen.common.BaseCompiler.kt Maven / Gradle / Ivy

Go to download

JVM AOT compiler currently generating JavaScript, C++, Haxe, with initial focus on Kotlin and games.

There is a newer version: 0.6.8
Show newest version
package com.jtransc.gen.common

import com.jtransc.io.ProcessUtils
import java.io.File

abstract class BaseCompiler(val cmdName: String) {
	val cmd by lazy { ProcessUtils.which(cmdName) }
	val available by lazy { cmd != null }
	abstract fun genCommand(programFile: File, debug: Boolean = false, libs: List = listOf()): List
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy