joews / peach

A functional programming language
MIT License
3 stars 0 forks source link

Add module system #4

Open joews opened 8 years ago

joews commented 8 years ago

Syntax ideas:

; named imports
(import `lib.peach` [a, b, c])

; default import
(import `lib.peach` lib)
joews commented 7 years ago

Now that I want to make the syntax less like Lisp, I will use something very like JavaScript's module syntax.