GithubHelp home page GithubHelp logo

xchy / xsharp Goto Github PK

View Code? Open in Web Editor NEW
16.0 1.0 2.0 749 KB

A toy OOP language with lexer, parser, codegen and runtime

License: GNU General Public License v3.0

C++ 94.55% CMake 0.90% C 0.08% Shell 0.06% LLVM 3.41% Python 1.00%
compiler parser cpp jvm-bytecode jvm-languages lexer runtime compilers llvm llvm-frontend

xsharp's Introduction

Hey, I'm XChy!

Blog

Python

I'm working on:

  • Learning computer science
  • Learning compilers, contributing to LLVM
  • Researching about Compiler Optimzation and Compiler Testing
  • Contributing to some interesting open-source projects

xsharp's People

Contributors

xchy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

xsharp's Issues

Create testsuite from scratch

Is your feature request related to a problem? Please describe.
Control the whole test process, just like llvm-lit.
By doing so, we can see the IR diff and AST diff after modifying our code.

Describe the solution you'd like
Write some python script to complete that

Add default void-return support

Title: Add default void-return support

Description:

It's not necessary to write a return statement in a void function explicitly.
Maybe we can insert the return statement automatically

Related Issues:

Labels: enhancement

Assignees:

Priority:

Add meta-information for Class

Title: Add meta-information for Class

Description:
Add meta-information into the binary when referenced

Labels: enhancement

Design a type-conversion/matching rules

Title: Design a type-conversion/matching rules
Description:
A good programming language needs a strong type system.
The foundation of type system is types' rules.
Currently, XSharp's type system is still weak, so we need to develop a good type rules for XSharp

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.