-
Notifications
You must be signed in to change notification settings - Fork 0
A simple programming language.
License
MIT, MIT licenses found
Licenses found
MIT
LICENSE
MIT
LICENSE.txt
hf/q
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Q - a simple programming language / Q Q Q Q Q Q Q Q Q Q Q Q Q Install the gem from RubyGems: $ gem install ql Then you can use the small `q' runner to run your .q files: $ q examples/factorial.q Example syntax: # assignment a <: 10; b <: 11; # operations a <: 3 + 5; a <: a = b; a <: a < b; a <: b > a; # functions # @ refers to the current function # every function returns @ by default # unless you assign @ another value factorial <: (n){ if [n < 2] then [@ <: 1] else [@ <: n * @(n - 1)]; }; tenth_factorial <: factorial(10); This language is an experiment and parts of it were presented at MKRUG (http://ruby.mk). This software is licensed under the MIT/X11 license and is Copyright (C) 2014 Stojan Dimitrovski. See LICENSE for more details.
About
A simple programming language.
Resources
License
MIT, MIT licenses found
Licenses found
MIT
LICENSE
MIT
LICENSE.txt
Stars
Watchers
Forks
Packages 0
No packages published