Skip to content

Latest commit

 

History

History
32 lines (17 loc) · 723 Bytes

File metadata and controls

32 lines (17 loc) · 723 Bytes

ACL

ACL is a simple and easy to learn language.

ACL IS NOT FINISHED. THERE WILL BE BUGS AND MAJOR CHANGES

ACL is a compiled language, made with C++. For code examples look at the examples/ folder. We would appreciate a star or even a fork.

Syntax

<_> = required, [_] = optional. Conditions can be surrounded in (), if you wish, and you may also end lines in ;.

Keywords

  • Variable declaration - let <varName>

  • If statement - if <condition> {}

  • Else statement - else [if <condition>] {} (else if not yet added)

  • For loop - for <var> in range([from], <to>) {}

  • While loop - while <condition> {}

  • Import - import <file>

continue and break are supported for loops