Walley Language is written in C language.
The name comes from Wall-E because I like Wall-E and I like AI.
I want to make a true AI language.
While I only make it like python now.
Full codes written in C language.
I am using mathomatic as my math-parse which is written in C language too. While I also wrote a math parser on my own, it does not work very well now.

just use gcc and compile main.c, it is done..
Tested on Mac and Ubuntu.
"gcc -g -o walley main.c -lm"
That's all.

Features

  • Go to "planetwalley.comeze.com" to try javascript version ^_^
  • The newest version of Walley Can be found at Github
  • In Walley 201, fix a lot of bugs... I am now learning writing compiler from Coursera..
  • In Walley 196, reuse Mathomatic as Math Parser.. Optimize the code.. Add new type "sym" to support symbolic e.g. |syms a,b|x=a+b|
  • In Walley 184, add table type(still under development). table: x=[1,2,3] print x[0] --->1 if the content in [] has = in string. then it is a table x=[1,2,3] translate to x=[[0]=1,[1]=2,[2]=3] x=[1,2,3,apple=12] translate to x=[[0]=1,[1]=2,[2]=3,["apple"]=12] print x["apple"] -----> 12 eg constant_x=[ pi=3.1415926, g=9.8, physics=[ moon="MOON" ] ] println constant_x println constant_x["pi"] println constant_x["physics"]["moon"] output----> [["pi"]=3.1415926,["g"]=9.8,["physics"]=[["moon"]="MOON"]] 3.1415926 MOON
  • In Walley 183, fix dictionary problem.. I was thinking to add data structure "table" like lua to walley
  • In Waley 181, begin to support global var in function. Just add "global x,y" to function like python, then x, y are global var
  • In Walley 180, support Windows.
  • In Walley 179, fix f() function problem.
  • In Walley 178, fix a lot of bugs..... New semester starts !!! @_@
  • In Walley 177, add new "switch" sentence and optimize the "if elif else" sentence
  • In Walley 176. Fix some bugs, add new features like "x,y=13,12" and "row1: x=[[1,2,3], row2=1,2]"
  • In Walley 175, fix "if" sentence bug
  • In Walley 174, stop using fraction mode as default calculation mode. Automatically calculate 1/2 as 1/2 and 1/2.0 as 0.5. Introduce two new functions: f(num) and d(num), where f(num) changes number to fraction and d(num) changes number to decimal
  • In Walley 173, add walley_system_return_str(cmd) function using popen. Fix slice bug
  • walley.exe is compiled by gcc using mingw under windows7
  • in Walley 172, some bugs are fixed and math parse is improved
  • Finx some bugs in 171
  • Fix some bugs in 170. Clean unused functions.
  • in Walley 169. Fix some bugs and clean unused functions.
  • In Walley 168. Begin to use math parser that is written on my own. Support Decimal mode(call "decimal mode") and Fraction mode(call "fraction mode";ps: fraction mode is the default mode). Support Symbolic Calculation(like y=x/3 while x is not initialized)
  • Walley Final Version Using Mathomatic is the final version that uses mathematic as the default math parser
  • Fix bugs in 167. Now walley can run on Mac OS X and Ubuntu appropriately..
  • Fix some bugs in 165..still broken....can run on Mac OS X but not Ubuntu
  • Well....164 broken, use 163 please
  • New memory allocation method in 164, but may with bugs..
  • Fix some bugs in 162

Project Samples

Project Activity

See All Activity >

Follow Walley

Walley Web Site

You Might Also Like
Top-Rated Free CRM Software Icon
Top-Rated Free CRM Software

216,000+ customers in over 135 countries grow their businesses with HubSpot

HubSpot is an AI-powered customer platform with all the software, integrations, and resources you need to connect your marketing, sales, and customer service. HubSpot's connected platform enables you to grow your business faster by focusing on what matters most: your customers.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Walley!

Additional Project Details

Registered

2012-12-17