uesteibar / lainoa Goto Github PK
View Code? Open in Web Editor NEWA programming language
A programming language
Maps should be supported:
let map = {
"key": "value",
123: "key can be int, bool or string",
}
map["key"] # => value
const a = "can't change this"
a = true
ERROR: can't change value of constant a
try {
...
} catch(err) {
...
}
We can implement async-await easily using goroutines:
let ref = async(fun() { return true })
let result = await(ref)
puts(result) # => true
ref
will be a new type that wraps a go channel
while (10 > 9) {
...
}
let Math = mod {
pub add = fun(a, b) { sum([a, b]) }
priv sum = fun(nums) { ... }
}
We can use priv
for functions that can't be used outside of the module.
it expects a list of files
> lainoa format ./*.ln
and it formats those files. The process is simple:
it won't be configurable at all.
For this AST object should include the token metadata (the same we use for printing file:line for parsing errors).
It would be great to have a pipe operator like the one in elixir:
let add = fun(a, b) { a + b }
5
>> add(10) # => 15
>> add(15) # => 30
The expression on the left should be the first argument to the function call on the right
We should be able to skip double quotes:
"these quotes should be \"skipped\"" # => these quotes should be "skipped"
We should be able to add line breaks and tabstops:
"line\nbreak"
# line
# break
"tab\n\tthis`
# tab
# this
Go escape example https://gist.github.com/siddontang/8875771
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.