GithubHelp home page GithubHelp logo

cylvre-language / cylvre Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 683 KB

A programming language that focuses on simplicity and productivity and leverages the JVM ecosystem.

Home Page: https://cylvre-language.github.io/CylvreHome.html

License: MIT License

Java 97.83% ANTLR 2.17%
alpha asm compiler cylvre help-wanted jvm jvm-bytecode jvm-ecosystem jvm-languages language pre-alpha programming-language

cylvre's People

Contributors

aurumbyte avatar dependabot-preview[bot] avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

cylvre's Issues

Arrays implementation

Arrays need to be implemented properly. Currently they are half implemented. Bytecode Generator needs updating to handle arrays.

referencing Java API throws ClassFormatError

Related Issue: #13

Java API compiles but throws the following error when run:
java.lang.ClassFormatError: Illegal class name "Ljava/lang/String;" in class file JavaAPITest

  • explicit type declaration needed to reference java API like String functions.
  • the following example compiles but throws error when run.
func main(){
    x : "string";
    str y : x.toUpperCase();
    println(y);

    str z : x.replace("str", "s");
    println(z);
}

Fixes

This is the main issue for all the fixes that has to be done currently in TODO.md

This issue will be closed after the following issues are closed and fixed.

Tests for other Operating Systems

The compiler still is not complete, but tests need to be run for macOS and Linux to see whether the instructions provided in the README work for them. Check Features.md to see what can compile and run successfully.

Else statement fix

fix if statement generator and if statement visitor to also handle else statements

Cylvre CLI

A command line interface to ease Cylvre files compiling and execution

Commands:
Compiling : forge <path to Cylvre file> or forge <Cylvre file>
Executing : run <Class File>

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.