Created new programming language with Ruby

Hi, there. Happy halloween! Ill be a Ruby itself this year. : )
Aside from that, I’ve made new programing language Q(Actually there are
programing languages with the name Q… but it’s best for me)

Motivation

I know all of you guys already know from your experience that doing
mathematics with PEN and PAPER is really really fun. But, once we have
to do it with a KEYBOARD, …:< It’s not the best, at least.
As you know, Matz said “Enjoy programming, and you will be happy.” Then,
I would like to say “Enjoy mathematics, and you will be more happy.”
Q includes not only essential syntax to do mathematics with a keyboard
but also succeeds in realizing the concept of the mathematics on the
console, which no programming language can do ever. This is awesome.

Why Ruby?

Let me present why I implemented Q with Ruby.

  1. Ruby is the language I’m used to and it’s very productive,so I can
    make prototype quickly and modificate easily.
  2. I’d like to prove that Ruby is enough functional to conduct numerical
    analysis(Actually I’m univ. student and my professor says “Python is
    more preferable for numerical analysis than Ruby. So you should use
    Python” I’m angry with that.)
  3. I love Ruby! (we don’t need any other reason.)
    And I like developing OSS with awesome engineer.Welcome any your PR or
    issue. You can become commiter, if you commit even once.Since you report
    a bug, I will response within 24 hours.

Thanks.

–Kazuki T.,
Keio univ. measure theory Lab.http://gogotanaka.me/

Very interesting.

I have one comment about the name. It is really difficult to search for
things that are based on just 1 letter. Maybe it’s different in
Japanese,
but for the latin alphabet, a lot of times google will think you
misspelled
something.

e.g.:
How do you make an array in Java #=> millions of results

How do you make an array in J #=> millions of results…for Java and
JavaScript. No results for the actual J programming language.

How do you make an array in E #=> Again, millions of results mostly for
Java

How do you make an array in Q #=> All kinds of results. Nothing to do
with
anything named ‘Q’

How do you make an array in R #=> This actually does return things
related
to ‘R’. Probably because it’s so famous.

For people trying to learn these lesser known languages it is
frustrating
because you have to come up with very creative search queries to get the
answers you want from the internet.

Maybe that doesn’t bother you, but if people can’t get to what you’re
making, then it’s not likely to get a lot of traction. My advice, give
it a
good short name that’s memorable but UNIQUE.

+1

On Fri, Oct 31, 2014 at 7:21 PM, [email protected] [email protected]

Hi, thank for your nice advice. I’m really appreciate it.
OK, I got your point. and I’ve decided to change its name anyway.So far,
I’m gonna change to ‘Hirbert’ in the same way as Haskell being named
after Haskell Curry. (I’m not sure it’s enough unique.)
This is because in the future I wanna accomplish Hilbert’s
program(Hilbert's program - Wikipedia)

Thanks.Date: Fri, 31 Oct 2014 15:21:07 -0400
Subject: Re: [ANN] Created new programming language with Ruby
From: [email protected]
To: [email protected]

Very interesting.
I have one comment about the name. It is really difficult to search for
things that are based on just 1 letter. Maybe it’s different in
Japanese, but for the latin alphabet, a lot of times google will think
you misspelled something.
e.g.:How do you make an array in Java #=> millions of results
How do you make an array in J #=> millions of results…for Java and
JavaScript. No results for the actual J programming language.

How do you make an array in E #=> Again, millions of results mostly for
Java
How do you make an array in Q #=> All kinds of results. Nothing to do
with anything named ‘Q’
How do you make an array in R #=> This actually does return things
related to ‘R’. Probably because it’s so famous.

For people trying to learn these lesser known languages it is
frustrating because you have to come up with very creative search
queries to get the answers you want from the internet.
Maybe that doesn’t bother you, but if people can’t get to what you’re
making, then it’s not likely to get a lot of traction. My advice, give
it a good short name that’s memorable but UNIQUE.

On Fri, Oct 31, 2014 at 1:26 PM, Gogo T. [email protected]
wrote:

Hi, there. Happy halloween! Ill be a Ruby itself this year. : )
Aside from that, I’ve made new programing language Q(Actually there are
programing languages with the name Q… but it’s best for me)

Motivation

I know all of you guys already know from your experience that doing
mathematics with PEN and PAPER is really really fun. But, once we have
to do it with a KEYBOARD, …:< It’s not the best, at least.
As you know, Matz said “Enjoy programming, and you will be happy.” Then,
I would like to say “Enjoy mathematics, and you will be more happy.”
Q includes not only essential syntax to do mathematics with a keyboard
but also succeeds in realizing the concept of the mathematics on the
console, which no programming language can do ever. This is awesome.

Why Ruby?

Let me present why I implemented Q with Ruby.

  1. Ruby is the language I’m used to and it’s very productive,so I can
    make prototype quickly and modificate easily.
  2. I’d like to prove that Ruby is enough functional to conduct numerical
    analysis(Actually I’m univ. student and my professor says “Python is
    more preferable for numerical analysis than Ruby. So you should use
    Python” I’m angry with that.)
  3. I love Ruby! (we don’t need any other reason.)
    And I like developing OSS with awesome engineer.Welcome any your PR or
    issue. You can become commiter, if you commit even once.Since you report
    a bug, I will response within 24 hours.

Thanks.

–Kazuki T.,
Keio univ. measure theory Lab.http://gogotanaka.me/

Hi Saji.
Thank you for your interest and comment.
Actually, this gem requires ruby 2.0.0+… (I needed to tell you and I
have second thoughts about that.)This is because ruby < 1.9.3 can’t
support character $B-t(B.
Right now, you need to update your Ruby version. Sorry for the
inconvenience. But I’m gonna fix it, so you’ll use it without updating
your Ruby version.
Thanks.

Kazuki T., Keio univ. measure theory Lab.http://gogotanaka.me/
Date: Sat, 1 Nov 2014 13:48:01 +0900
Subject: Re: [ANN] Created new programming language with Ruby
From: [email protected]
To: [email protected]

Hi Kazuki,

Quite nice! I am looking forward to checking it out. :slight_smile:

BTW, do you have any suggestions for how to get rid of the following
error message after trying to invoke qlang -i
(BTW, I thought that there was no key in the keyboard representing
$B-t(B)
sudo gem install qlang
[sudo] password for saji:
Fetching: dydx-0.1.41421.gem (100%)
Fetching: qlang-0.0.27182123.gem (100%)
Building native extensions. This could take a while…
Successfully installed dydx-0.1.41421
Successfully installed qlang-0.0.27182123
2 gems installed
Installing ri documentation for dydx-0.1.41421…
Installing ri documentation for qlang-0.0.27182123…
Installing RDoc documentation for dydx-0.1.41421…
Installing RDoc documentation for qlang-0.0.27182123…
saji@enformtk:~/Downloads/ESP_Dennis$ qlang -i
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require’:
/usr/local/lib/ruby/gems/1.9.1/gems/qlang-0.0.27182123/lib/qlang/lexer/main_lexer.rb:14:
invalid multibyte char (US-ASCII) (SyntaxError)
/usr/local/lib/ruby/gems/1.9.1/gems/qlang-0.0.27182123/lib/qlang/lexer/main_lexer.rb:14:
invalid multibyte char (US-ASCII)
/usr/local/lib/ruby/gems/1.9.1/gems/qlang-0.0.27182123/lib/qlang/lexer/main_lexer.rb:14:
syntax error, unexpected $end, expecting ‘)’
rule(/$B-t(B#{LBRCT}(#{VAR})=(#{INT}),#{…

cheers,
saji

Saji N Hameed,
ARC-ENV, Center for Advanced Information Science and Technology,
University of Aizu, Tsuruga, Ikki-machi,
Aizuwakamatsu-shi, Fukushima 965-8580,
Japan

Tel: +81242 37-2736
Fax:+81242 37-2760
email: [email protected]
url: http://enformtk.u-aizu.ac.jp
bib: Web of Science
sajinh (Saji Hameed) · GitHub

On Sat, Nov 1, 2014 at 5:49 AM, Gogo T. [email protected]
wrote:

Hi, thank for your nice advice. I’m really appreciate it.
OK, I got your point. and I’ve decided to change its name anyway.So far,
I’m gonna change to ‘Hirbert’ in the same way as Haskell being named
after Haskell Curry. (I’m not sure it’s enough unique.)
This is because in the future I wanna accomplish Hilbert’s
program(Hilbert's program - Wikipedia)

Thanks.Date: Fri, 31 Oct 2014 15:21:07 -0400
Subject: Re: [ANN] Created new programming language with Ruby
From: [email protected]
To: [email protected]

Very interesting.
I have one comment about the name. It is really difficult to search for
things that are based on just 1 letter. Maybe it’s different in
Japanese, but for the latin alphabet, a lot of times google will think
you misspelled something.
e.g.:How do you make an array in Java #=> millions of results
How do you make an array in J #=> millions of results…for Java and
JavaScript. No results for the actual J programming language.

How do you make an array in E #=> Again, millions of results mostly for
Java
How do you make an array in Q #=> All kinds of results. Nothing to do
with anything named ‘Q’
How do you make an array in R #=> This actually does return things
related to ‘R’. Probably because it’s so famous.

For people trying to learn these lesser known languages it is
frustrating because you have to come up with very creative search
queries to get the answers you want from the internet.
Maybe that doesn’t bother you, but if people can’t get to what you’re
making, then it’s not likely to get a lot of traction. My advice, give
it a good short name that’s memorable but UNIQUE.

On Fri, Oct 31, 2014 at 1:26 PM, Gogo T. [email protected]
wrote:

Hi, there. Happy halloween! I$B!G(Bll be a Ruby itself this year. : )
Aside from that, I’ve made new programing language Q(Actually there are
programing languages with the name Q… but it’s best for me)

Motivation

I know all of you guys already know from your experience that doing
mathematics with PEN and PAPER is really really fun. But, once we have
to do it with a KEYBOARD, …:< It’s not the best, at least.
As you know, Matz said “Enjoy programming, and you will be happy.” Then,
I would like to say “Enjoy mathematics, and you will be more happy.”
Q includes not only essential syntax to do mathematics with a keyboard
but also succeeds in realizing the concept of the mathematics on the
console, which no programming language can do ever. This is awesome.

Why Ruby?

Let me present why I implemented Q with Ruby.

  1. Ruby is the language I’m used to and it’s very productive,so I can
    make prototype quickly and modificate easily.
  2. I’d like to prove that Ruby is enough functional to conduct numerical
    analysis(Actually I’m univ. student and my professor says “Python is
    more preferable for numerical analysis than Ruby. So you should use
    Python” I’m angry with that.)
  3. I love Ruby! (we don’t need any other reason.)
    And I like developing OSS with awesome engineer.Welcome any your PR or
    issue. You can become commiter, if you commit even once.Since you report
    a bug, I will response within 24 hours.

Thanks.

–Kazuki T.,
Keio univ. measure theory Lab.http://gogotanaka.me/

Nice, will try it :slight_smile:

Hi Kazuki,

Quite nice! I am looking forward to checking it out. :slight_smile:

BTW, do you have any suggestions for how to get rid of the following
error
message after trying to invoke qlang -i
(BTW, I thought that there was no key in the keyboard representing ∑)

sudo gem install qlang
[sudo] password for saji:
Fetching: dydx-0.1.41421.gem (100%)
Fetching: qlang-0.0.27182123.gem (100%)
Building native extensions. This could take a while…
Successfully installed dydx-0.1.41421
Successfully installed qlang-0.0.27182123
2 gems installed
Installing ri documentation for dydx-0.1.41421…
Installing ri documentation for qlang-0.0.27182123…
Installing RDoc documentation for dydx-0.1.41421…
Installing RDoc documentation for qlang-0.0.27182123…
saji@enformtk:~/Downloads/ESP_Dennis$ qlang -i
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require’:
/usr/local/lib/ruby/gems/1.9.1/gems/qlang-0.0.27182123/lib/qlang/lexer/main_lexer.rb:14:
invalid multibyte char (US-ASCII) (SyntaxError)
/usr/local/lib/ruby/gems/1.9.1/gems/qlang-0.0.27182123/lib/qlang/lexer/main_lexer.rb:14:
invalid multibyte char (US-ASCII)
/usr/local/lib/ruby/gems/1.9.1/gems/qlang-0.0.27182123/lib/qlang/lexer/main_lexer.rb:14:
syntax error, unexpected $end, expecting ‘)’
rule(/∑#{LBRCT}(#{VAR})=(#{INT}),#{…

cheers,
saji

Saji N Hameed,
ARC-ENV, Center for Advanced Information Science and Technology,
University of Aizu, Tsuruga, Ikki-machi,
Aizuwakamatsu-shi, Fukushima 965-8580,
Japan

Tel: +81242 37-2736
Fax:+81242 37-2760
email: [email protected]
url: http://enformtk.u-aizu.ac.jp
bib: Web of Science
code: sajinh (Saji Hameed) · GitHub

Hi Kazuki,

Thanks! I will try with ruby 2.0.0+

And I look forward to the new version.

cheers,
saji

Saji N Hameed,
ARC-ENV, Center for Advanced Information Science and Technology,
University of Aizu, Tsuruga, Ikki-machi,
Aizuwakamatsu-shi, Fukushima 965-8580,
Japan

Tel: +81242 37-2736
Fax:+81242 37-2760
email: [email protected]
url: http://enformtk.u-aizu.ac.jp
bib: Web of Science
code: sajinh (Saji Hameed) · GitHub