+
Skip to content

Lemon v1.0.0-alpha

Latest

Choose a tag to compare

@tomlin7 tomlin7 released this 23 Dec 12:59
· 59 commits to main since this release
c41d4f1

The Lemon Programming Language

Lemon is a tiny, fast, interpreted language. Lemonade is the Lemon interpreter, written in go. Still in early stages of development and is not yet feature-complete.
Here's a peek at the REPL atm:

repl

Features:

  • Data types: boolean, integer, strings
  • Variables
  • Arithmetic, Logical & Comparison operations
  • Functions and function closures
    • Passing function objects as arguments
    • Recursive function calls
  • Control structures
    • If-else expression statements
  • Built-in functions
    • len(string)
  • String concatenation
  • Garbage collection (go)

Usage

To launch the REPL, run:

lemon

Running lemon files:

lemon example.mm

Full Changelog: https://github.com/tomlin7/lemon/commits/v1.0.0

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载