syntax

Processing / Java API / processing / in progress
Processing syntax transpile rules (v0)

What Java-like syntax the bridge currently rewrites.

Parameters

Parameters are not fully documented yet.

Returns

Not specified.

Examples

No explicit examples yet.

Open playground to experiment live.

Runtime Notes

No additional runtime notes yet.

Details

  • void setup(), void draw(), and common event callbacks are transpiled.
  • Typed declarations such as int, float, and boolean become Lua locals.
  • if/else, while, and numeric for loops are translated to Lua block syntax.
  • Operators like !=, &&, and || are rewritten to Lua equivalents.
  • Math helpers like sin() and cos() map to math.sin() and math.cos().

Live Preview

Embedded AC preview