Giter Club home page Giter Club logo

babylang's Introduction

๐Ÿ‘จโ€๐Ÿ’ป About Me!

I'm a full stack web developer and a technologist who enjoys automation.

This account is for my personal projects and involvement with oss projects.

๐Ÿค” Where to find me?

Stackoverflow Linkedin Badge

babylang's People

Contributors

4biscuits avatar ajayunny avatar deepakchethan avatar harinivijay avatar stami-star avatar

Stargazers

 avatar  avatar

Watchers

 avatar

babylang's Issues

Hello World fails

I think this program should print "Hello World!" but your interpreter is not interpreting loops as while loops.

aaag gagu gaga gagu gugu uuug gagu guga gaga aaag gagu gaga aaag aaag
aaag gaga gagu aaag aaag aaag aaag aaag aaag aaag aaag aaag aaag aaag
gaga guga gagu gaga guga uuug gagu gugu guga gaga uuug guga guga aaag
aaag aaag aaag aaag aaag aaag aaag aaag aaag gugu guga gaga gaga gaga
gaga gaga gaga uuug uuug uuug uuug guuu gugu gugu aaag aaag aaag guuu
gugu uuug guuu guuu aaag aaag aaag guuu gugu uuug guuu gaga gaga gaga
guuu gugu gugu guuu aaag aaag aaag guuu uuug uuug uuug uuug uuug uuug
guuu gaga uuug guuu gugu gugu aaag guuu gugu guuu

This is a direct translation "interpreter".

#!/usr/bin/ruby
eval 'm=Hash.new(p=0);'+ARGF.read.downcase.gsub(
        /[a-z][a-z0-9]*|./,
        'gaga' => 'p+=1;',
        'gugu' => 'p-=1;',
        'aaag' => 'm[p]+=1;',
        'uuug' => 'm[p]-=1;',
        'unga' => 'm[p]=0;',
        'guuu' => 'putc m[p];',
        'gaaa' => 'm[p]=STDIN.getbyte if !STDIN.eof;',
        'gagu' => '(',
        'guga' => ')while((m[p]&=255)!=0);')

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.