Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Calx is a lisp dialect that is made with python for Rapid progress, Ease of contrib.

License

NotificationsYou must be signed in to change notification settings

stroll-script/stroll-script-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"A lightweight Lisp dialect implemented in Python."


⚙️ Introduction

Stroll is a small, extensible Lisp dialect written in Python.It’s designed to be simple, approachable, and ideal for learning, experimenting, and contributing.Whether you’re new to Lisp or exploring interpreter design, Stroll provides a friendly environment to build and grow with the language.

If you’re new to Lisp, check out ourintroductory guide.


🧩 Features

Here are some of the thingsStroll currently has to offer!:

🧮 Math & Comparisons:

  • Basic arithmetic:+,-,*,/
  • Comparison operators:>,<,>=,<=,==,!=
  • Additional math functions:mod,pow,sqrt,abs(some untested)

📦 Data & Collections:

  • Variables:let to store values
  • Lists:list to make lists,append to add elements
  • List utilities:len,reverse,index to manage elements

🔤 Strings & Text:

  • Create strings using quotes
  • String functions:concat,strlen,substr(some untested)

🔁 Control Flow:

  • Conditionals:if,elif,else (syntax differs from traditional Lisp — see docs)
  • Loops:while loops
  • Logic values & operators:& (and),| (or),true,false

🖨️ Input/Output:

  • Print to console:print
  • Read input:scan

👨‍💻 User defined functions:

  • Define function withfn
  • Set passed in arguments:argone|argtwo|argthree
  • Call functions usingcall: call a user defined function

Quick Example:

(+ 1 2)(let x 10)(print x)(fn square |argone| (* argone argone))(call square 6)

🎯 Goals

We’re aiming for:

  1. Feature progression — rapid growth and iteration
  2. Good documentation — clear, complete, and beginner-friendly
  3. Open contributions — an inviting community for all contributors
  4. Clean code — readable and structured

🤝 Contributing

Interested inStroll and want to help it grow?

We welcome contributions of all kinds!To get started, please review the contributing guide and explore open issuescontributing guide to get started!

If you’d like to add features, improve documentation, or help refine the interpreter, your contributions are appreciated.


About

Calx is a lisp dialect that is made with python for Rapid progress, Ease of contrib.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors6

Languages


[8]ページ先頭

©2009-2025 Movatter.jp