-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add namespaces to lisp #511
Conversation
New escaped tab
|
|
There are a few options for the namespace separator:
The first option A slash |
If the language is used as a shell it might be interesting to rename |
This PR introduces a lower level
file
namespace to the lisp allowing reading (file:read
) and writing (file:write
) directly from a file handle to have a betterprint
function so the output of a script can now be redirected to a file from the shell for example.This wasn't possible before:
The new notation using a dot
.
to group functions within a namespace will also be used fornumber
,string
, andregex
withnumber.type
,string.trim
, andregex.match?
for example.