Popsicle programming language
Popsicle is a demoscene-oriented programming language. Planned features include:
- Small, efficiently-compiled Linux binaries for sizecoding
- Integrated package manager
- Modular syntax
- Full type inference with typeclass polymorphism
Print a greeting with Python-like syntax:
# ++ (concat) and join are typeclass functions for strings and lists def greet_users(users): "Hello " ++ join(users, " and ") print(greet_users(["Bob", "Eve", "Alice"])) # prints "Hello Bob and Eve and Alice"
The same code using a Lisp-like infix syntax:
(define (greet-users users)
("Hello " ++ (join users " and ")))
(print (greet-users '("Bob" "Eve" "Alice")))