theaxec / cardinal Goto Github PK
View Code? Open in Web Editor NEWA small, completely dynamic scripting language. [Finished]
A small, completely dynamic scripting language. [Finished]
Change the compiler so fields dont need to be forward declared
and can be declared with a keyword like "field" or "method"
Use a counter within a class so field acces happens correctly
Currently the wiki is a direct copy of the ThunderdogScript wiki.
This needs to be fixed.
Have library classes which allow to build a compiler within Cardinal
Save the names for the members of a class so we can add members in a later stage
An artificial heap where objects can be stored or created manually
Allow for public/private fields and methods
use
if
else
end
instead of the {} convention
Now fields within ObjInstance are inline, this is bad when we want to change the composition of the object.
This is currently not possible
When importing the path is not relative to the current path.
eg:
File structure:
file/A.crd
B.crd
C.crd
File A:
import "../B"
File B
import "C"
Error cannot find file "file/C"
This can be done once the saving/loading bytecode, and the code generation is done
create a new type of method: METHOD_PARENT
In this way, inheritance is not completely copy down anymore
In order to speed-up the language, a JITCompiler might be a good idea
Also allow addition of methods to standard classes?
class A {
class definition
}
class A {
add fields and methods to A
}
Keep a flag within A, so object know that a class has changed when we try to access it
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.