You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The most interesting part about the repository however is the fact, that the completions are not programmed in Lua but in Haxe - a strictly typed, C-style general purpose programming language - which has the ability to transpile to Lua. This unlocks (partial) usage of the Haxe eco-system, amenities like auto-completion, type- and null-safety during programming. Since the output from Haxe is a single self-contained Lua file, one also does not have to worry about module paths.
The repository https://github.com/vegardit/haxe-clink-externs contains so called Haxe externs for the clink Lua API - which are type/interface definitions in Haxe. The command completions in more-clink-completions are developed against these externs.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Dear fellow clink users,
I'd like to announce the https://github.com/sebthom/more-clink-completions repository that contains some command completions not found in https://github.com/vladimir-kotikov/clink-completions for e.g. Docker, Java, Javac, Lua, Maven.
The most interesting part about the repository however is the fact, that the completions are not programmed in Lua but in Haxe - a strictly typed, C-style general purpose programming language - which has the ability to transpile to Lua. This unlocks (partial) usage of the Haxe eco-system, amenities like auto-completion, type- and null-safety during programming. Since the output from Haxe is a single self-contained Lua file, one also does not have to worry about module paths.
The repository https://github.com/vegardit/haxe-clink-externs contains so called Haxe externs for the clink Lua API - which are type/interface definitions in Haxe. The command completions in more-clink-completions are developed against these externs.
Contributions are welcome!
Beta Was this translation helpful? Give feedback.
All reactions