+
Skip to content

Releases: tomlin7/lemon

Lemon v1.0.0-alpha

23 Dec 12:59
c41d4f1

Choose a tag to compare

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浏览器服务,不要输入任何密码和下载