nbuilding / aardvark Goto Github PK
View Code? Open in Web Editor NEWThe Aardvark Programing Language
The Aardvark Programing Language
alec change to the kangaroo project
The shorter variants should be used for logical operators rather than bitwise operators as the former is used more often, so
&
|
~
are the logical AND, OR, and NOT operators, respectively.&&
||
!
are the bitwise AND, OR, and NOT operators, respectively.^
should also be reserved for exponentiation, so XOR can be something obscure like ^^
.
&
, |
, and ~
have roots that might be more recognizable. For example, &
is used in English for "and," and ~
is used for negation in math. |
is already used in some syntaxes for multiple options, like regex a|b
. ^
is commonly used for exponentiation.
In addition, a single character is easier to type (though admittedly the impact of this is negligible), so it should be used for the operator that is used more often.
Duplicating the symbol for bitwise operators would be in line with the bitwise shift operators, >>
and <<
. Good thing existing languages don't do it the other way around!
Epic syntax idea:
>> means return
Example (using kotlin syntax but with the return idea)
fun addThree(x: Int): Int {
>> x + 3
}
Originally posted by @ky28059 in #2 (comment)
RFCs (request-for-comment)s should be posted here; these are proposals to the language, which may include:
New syntax
Standard library features
Bug fixes
Language features
Once accepted, they will be marked as so, and further discussion of the feature will continue.
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.