dcc
Example of the language
// var and val are new variables
var a: int32 = 10
var b: int16 = 0
// strings have types (zero terminated, length, etc)
val c: String<zt> = "Hey ya!"zt
// vars are reassignable
b, a = a, b
// default parameters are possible
fun foo(a: float16 = 4): float16 {
return a
}
val x: float16 = foo()
x = foo(60)
val y: int16 = null
// heap vals are variables on the heap as opposed to stack variables
// heap vals can be nullable
heap val z: int16? = null
// new keyword allocates memory
heap val zz: int16 = new int16(10)
// address<type> is the same as pointer type, can be retreived through addressOf(variable) from heap or stack variables
fun bar(a: heap float16): address<float16> {
return addressOf(a)
}
val adr: address<float16> = bar(zz)
// deallocate heap variable
delete zz
// named parameter access
fun baz(a: int32, b: int32): int32 { return a + b }
baz(a = 10, b = 20)
var a = 10
Template ToDo list
- Create a new IntelliJ Platform Plugin Template project.
- Verify the pluginGroup, plugin ID and sources package.
- Review the Legal Agreements.
- Publish a plugin manually for the first time.
- Set the Plugin ID in the above README badges.
- Set the Deployment Token.
- Click the Watch button on the top of the IntelliJ Platform Plugin Template to be notified about releases containing new features and fixes.
This Fancy IntelliJ Platform Plugin is going to be your implementation of the brilliant ideas that you have.
This specific section is a source for the plugin.xml file which will be extracted by the Gradle during the build process.
To keep everything working, do not remove <!-- ... -->
sections.
Installation
-
Using IDE built-in plugin system:
Preferences > Plugins > Marketplace > Search for "dcc" > Install Plugin
-
Manually:
Download the latest release and install it manually using Preferences > Plugins > ⚙️ > Install plugin from disk...
Plugin based on the IntelliJ Platform Plugin Template.