Giter Club home page Giter Club logo

yapl's Introduction

YAPL

YAPL ( Yet Another Programming Language ) is the programming language for quick and easy mixed programming paradigms of OOP(Object-Oriented Programming) and FP(Functional Programming). It want to solve graps in gl (general language) , sl (script language) and dsl (domain specific language).

Why

There are too many languages in the world unitl now. All most languages have solved communication between computer and program. But few languages solve communication between people and people especially program and people. I think that Ruby do best work in this aspect. No language conside the communication between developers and domain expert. So DSL is important.

Every software system builded must contains three parts: First, general language is base role in the system. it decides speed, performance, efficiency of system. Second, script language is a layer baseed on general language. Its goals are quickly doing work and running system. Third, domain specific language is a shape tool that can solve application problems, sush as communication with expert, describing domain problems, etc. Yes, The three parts are so general that nobody consider they are important. No one want to use c++ to develop web application.

+++++++++++++++++
++      dsl    ++  => describe problem
+++++++++++++++++
++      sl     ++  => develop appliction
+++++++++++++++++
++      gl     ++  => system base
+++++++++++++++++

I want to integrate this three parts in one programmging language. And it must spport export to other languages, such as python, ruby, php, perl, javascript, jvm, .net and llvm.

Starting

Language Specification

specification

ToDo List

  • define grammer
  • parser

Change Log

  • 0.0.1 describe goals.

About

All right belongs to htoo.

yapl's People

Contributors

htoooth avatar

Stargazers

Benson Liu avatar Leo avatar

Watchers

James Cloos avatar  avatar Thomas Copper avatar

yapl's Issues

What you think about metaprogramming?

What you think about the approach I described here?
http://ponyatov.quora.com/YAPL-Yet-Another-Programming-Language-script-engine-in-JavaScript

Idea: a user defines syntax itself, using a parser generator as a language runtime core.

It's a feel of METAII but I use PEG.js and JS in browser as "assembly" level, comparing to METAII masm.
http://www.bayfronttechnologies.com/mc_tutorial.html

PS: I used FORTH as a demo language but it's just a sample, there is nothing with fixed syntax and semantics -- only background JS runtime code should provide more helpers to implement any other language runtime

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.