Code Monkey home page Code Monkey logo

cardinal's People

Contributors

theaxec avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

cardinal's Issues

Class fields

Change the compiler so fields dont need to be forward declared
and can be declared with a keyword like "field" or "method"

Super methods

Use a counter within a class so field acces happens correctly

Adapt wiki to Cardinal

Currently the wiki is a direct copy of the ThunderdogScript wiki.
This needs to be fixed.

keep member names

Save the names for the members of a class so we can add members in a later stage

datacenter

An artificial heap where objects can be stored or created manually

fields not inline

Now fields within ObjInstance are inline, this is bad when we want to change the composition of the object.

Importing path

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"

Bootstrapped compiler

This can be done once the saving/loading bytecode, and the code generation is done

method calling

create a new type of method: METHOD_PARENT
In this way, inheritance is not completely copy down anymore

JITCompilation

In order to speed-up the language, a JITCompiler might be a good idea

Allow dynamic 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.