Skip to content

Commit

Permalink
AutoIt added (Fixes #24)
Browse files Browse the repository at this point in the history
  • Loading branch information
viktor-zin committed Oct 15, 2014
1 parent 08b92dc commit b031a0e
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions generators/autoit.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"name": {
"en_US": "AutoIt 3"
},
"algorithm" : {
"template" : "Func Main()%branch1%\nEndFunc"
},
"if": {
"template":"If %cond% Then%branch1%\nElse%branch2%\nEndIf"
},
"for": {
"template":"For $%var% = %from% To %to%%branch1%\nNext"
},
"pre": {
"template":"While %cond%%branch1%\nWEnd"
},
"post": {
"template":"Do%branch1%\nUntil Not %cond%"
},
"assign": {
"template":"$%dest% = %src%"
},
"process": {
"template": "%text%"
},
"io": {
"template": "%vars%",
"list": ["vars"],
"separator": ",",
"glue": "\n",
"prefix" : "$",
"suffix": " = ConsoleRead()"
},

"ou": {
"template": "%vars%",
"list": ["vars"],
"separator": ",",
"glue": "\n",
"prefix": "ConsoleWrite($",
"suffix": " & @CRLF)"
}
}

0 comments on commit b031a0e

Please sign in to comment.