Coder Social home page Coder Social logo

smallnet's Introduction

Differences with real c#:
* no garbage collector (you must use dispose method)
* vars has not defaults values (for optimization)
* no exceptions (to avoid memory leaks because the lack of GC)
* by default numbers (ex. 1234) are signed integers but you can change this:
    123'i  -> is a signed integer
    123'ui -> is an unsigned integer
    123'b  -> is a signed byte
    123'ub -> is an unsigned byte
  123+123 and 123'b+123'b and 123'ub+123'ub gives different results
  signed and unsigned are basically the same except for comparing numbers

TODO:
* add uses directives
* type casting
* static methods
* register spilling
* class tags
* non-static methods
* non-static fields
* nested namespaces
* nested classes
* strings
* conditionals and loops
* memory manager
* tool for roms (using pragmas maybe?)
* declare same method with different args
* box/unbox basic types
* save modified regs in a method (except return types)

smallnet's People

Contributors

samsaga2 avatar

Stargazers

 avatar Jock Murphy avatar Haroldo de Oliveira Pinheiro avatar  avatar

Watchers

 avatar James Cloos avatar

Forkers

jockm

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.