GithubHelp home page GithubHelp logo

markhsiu / dsl-larva-lang Goto Github PK

View Code? Open in Web Editor NEW

This project forked from larva-lang/larva-lang

0.0 2.0 0.0 320 KB

The larva programming Language

License: GNU General Public License v3.0

C++ 4.20% C# 5.94% Go 15.15% Java 5.08% Python 66.13% Ruby 3.50%

dsl-larva-lang's Introduction

larva-lang

原转为java的项目版本已迁移至个人,请访问:

https://github.com/maopao-691515082/larva-lang_4j

本项目计划重构,一个是因为打算将其改造成方便服务器开发使用的语言,而不是仅针对个人刷题

另一个是因为这是个人第一个正式语言项目,可能有些不成熟的地方:

1 原版本虽然理论上可以提供java之外的编译目标,但部分设计理念太贴近java了,如果转其他语言,不是很方便

2 反过来为了快速适应java后端环境而且不希望速度损失太多,有一些语法打了折扣,这次计划先转go,有可能的话再考虑C++,由于后端有指针支持,语法空间更大

3 编译器代码有些乱,希望做一个整体改进

4 功能取舍不够,部分高级语法与Python像,但是似是而非反而有反效果

5 类型推导只覆盖了int,而且改动了语法,但又感觉比较鸡肋,计划重做算法,覆盖基础类型

6 coc开发过程中,对于静态类型语言的类型系统的前端分析的复杂性表示不太耐烦,虽然也做完了

7 顺利的话,test case和doc尽量不太监:)

先暂停更新吧,可能是转golang做得runtime等设计不太好,性能较差,但我也怀疑是golang interface等特性导致

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.