User:TakuyaMurata/Note
Jump to navigation
Jump to search
This is a personal note by Taku. Never bother with it.
Elementary Theory of Analytic Functions of One or Several Complex Variables (Paperback) Special Functions and Their Applications
where x is real.
P5 is a programming language designed by me (Takuya Murata) for use in describing the semantics of a usual programming language and algorithms and data structures. Design principles are:
- Little happens implicitly.
- The language is not necessarily practical for application or system programming.
- Don't work on what you dislike; work on what you like or work very hard so you can work on what you like.
There is not difference between a selection control flow (a switch statement in C) and an associative array.
map = 'There is an ' +.each [0: 'even'; 1: 'odd'] + ' number of people on the Earth';
print map[get ('the population of the Earth') mod 2]
is equivalent to:
map = print 'There is an ' +.each [0: 'even'; 1: 'odd'] + 'number of people on the Earth';
map[get ('the population of the Earth') mod 2]
0: print '10 + 13 = ' 1: goto 4 2: push 13 3: goto 6 4: push 10 5: goto 1 6: add 7: print
s = [0 ... ];
def b0_1
{
print '10 + 13 = ';
b4_5;
}
def b2_3
{
s[1] := 13;
b6_7;
}
def b4_5
{
s[0] := 10;
b2_3;
}
def b6_7
{
s[0] := s[0] + s[1]
print s[0];
halt;
}