Package it.unibo.protelis2kotlin
Class Protelis2KotlinKt
-
- All Implemented Interfaces:
public final class Protelis2KotlinKt
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringPROTELIS_FILE_EXTENSION
-
Method Summary
Modifier and Type Method Description final static Unitmain(Array<String> args)Main function: calls protelis2Kt without a project. final static Unitprotelis2Kt(Project $self, String base, String destination)Reads all Protelis files under a base directory, parses them, and generates corresponding Kotlin files in a destination directory. -
-
Method Detail
-
main
final static Unit main(Array<String> args)
Main function: calls protelis2Kt without a project.
This is to be called with two arguments:
The base directory from which recursively looking for Protelis files
The destination directory that will contain the output Kotlin files
-
protelis2Kt
final static Unit protelis2Kt(Project $self, String base, String destination)
Reads all Protelis files under a base directory, parses them, and generates corresponding Kotlin files in a destination directory.
This is to be called with two arguments:
The base directory from which recursively looking for Protelis files
The destination directory that will contain the output Kotlin files
-
-
-
-