Skip to content

And other MLP "programming language",but reading the real source files

Notifications You must be signed in to change notification settings

felixfong227/mlpfim-programming-language

Repository files navigation

#My Little Pony Friendship Is Magic Programming Language

##How to set it up? On development

  • Clone the repo
  • Create a new source file end with `.mlp` or `.mlpfim`
  • #Install the interperter

    $ npm install mlpfim-programming-language -g
    

    ##How to set up and running?

  • Open up your `Terminal/Git Bash`,and `cd` into the repo you just clone down
  • Using the command at the Terminal `$ node interperter.js `
  • And if you want to see how much time you span on this program,you can go to the config file `mlpfimconfig.json`,and change the `dev`option `false` become `true`
  • ##Demo code Basic output

    dearPC "Today i learn how to code";

    Basic input

    spike name;

    If statement

    if true && 1 > 0
        console.log(true)
    else
        console.log(false)
    ;
    

    and much more...

    ###Working program

    `A Hello World Program?`
    dearPC "Hello what is your name?";
    spike name;
    dearPC "Nice to meet you ${name} :D";
    `This is a comment`

    ##JavaScript(NodeJS) error fall back If your mlpfim code hit an error,do you allow to try running in the JavaScript engine?by default is set to true
    Go to the config file mlpfimconfig.jsonand change it true => false

    ##Config file The config file it tell the interperter how to work with your program,and the config file gen by auto,so you don't need to worry about that.

    Please fork this project and take it awesome
    This project mainly just for fun,and still on "development"

    About

    And other MLP "programming language",but reading the real source files

    Topics

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published