September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
|
|
@ -1,8 +1,6 @@
|
|||
#import system.
|
||||
|
||||
#symbol program =
|
||||
program =
|
||||
[
|
||||
#var Δ := 1.
|
||||
var Δ := 1.
|
||||
Δ := Δ + 1.
|
||||
|
||||
console writeLine:Δ.
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
Δ = 1
|
||||
Δ = Δ + 1
|
||||
println[Δ]
|
||||
|
|
@ -0,0 +1 @@
|
|||
{ "Δ": 1 } | .["Δ"]
|
||||
|
|
@ -0,0 +1 @@
|
|||
.["Δ"]
|
||||
|
|
@ -0,0 +1 @@
|
|||
."Δ"
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
{ "Δ": 1 } # initialization
|
||||
| .["Δ"] += 1 # increment by 1
|
||||
| .["Δ"] # emit the incremented value
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
fun main(args: Array<String>) {
|
||||
var Δ = 1
|
||||
Δ++
|
||||
print(Δ)
|
||||
}
|
||||
|
|
@ -1,9 +1,3 @@
|
|||
local unicode = {}
|
||||
unicode["Für"] = "for"
|
||||
print(unicode["Für"])
|
||||
|
||||
unicode["garçon"] = "boy"
|
||||
print(unicode["garçon"])
|
||||
|
||||
unicode["∆"]=1
|
||||
print(unicode["∆"])
|
||||
∆ = 1
|
||||
∆ = ∆ + 1
|
||||
print(∆)
|
||||
|
|
|
|||
|
|
@ -1,3 +0,0 @@
|
|||
var Δ = 1
|
||||
Δ.inc()
|
||||
echo(Δ)
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
<@ LETVARLIT>Δ|1</@>
|
||||
<@ ACTICRVAR>Δ</@>
|
||||
<@ SAYVAR>Δ</@>
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
<@ LETVARLIT>三角洲|1</@>
|
||||
<@ ACTICRVAR>三角洲</@>
|
||||
<@ SAYVAR>三角洲</@>
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
# Project : Unicode variable names
|
||||
# Date : 2017/09/20
|
||||
# Author : Gal Zsolt (~ CalmoSoft ~)
|
||||
# Email : <calmosoft@gmail.com>
|
||||
|
||||
Δ = "Ring Programming Language"
|
||||
see Δ + nl
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
# -*- coding: big5 -*-
|
||||
Δ = 1
|
||||
Δ += 1
|
||||
puts Δ
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
# -*- coding: euc-jp -*-
|
||||
|
||||
class Numeric
|
||||
def ≦(♯♭♪)
|
||||
self <= ♯♭♪
|
||||
end
|
||||
end
|
||||
|
||||
∞ = Float::INFINITY
|
||||
±5 = [-5, 5]
|
||||
p [(±5.first.≦ ∞),
|
||||
(±5.last.≦ ∞),
|
||||
(∞.≦ ∞)]
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
#![feature(non_ascii_idents)]
|
||||
#![allow(non_snake_case)]
|
||||
|
||||
fn main() {
|
||||
let mut Δ: i32 = 1;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,11 @@
|
|||
define ∆increment(∆ref) {
|
||||
@∆ref++;
|
||||
}
|
||||
variable foo∆bar = 1;
|
||||
foo∆bar++;
|
||||
variable ∆bar = 1;
|
||||
∆bar++;
|
||||
∆increment(&∆bar);
|
||||
% foo∆bar should be 2 and ∆bar should be 3.
|
||||
print(foo∆bar);
|
||||
print(∆bar);
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
delta:="\U0394;"; // UTF-8 delta
|
||||
klass:= // embryo(names, numFcns, numClasses, numParents, ...)
|
||||
self.embryo(L("","",delta),0,0,0).cook();
|
||||
klass.setVar(0,Ref(1)); // indirect set since delta not valid var name
|
||||
klass.vars.println();
|
||||
|
||||
dv:=klass.setVar(0); // which actually gets the var, go figure
|
||||
dv.inc(); // ie (*ptr)++
|
||||
dv.value.println();
|
||||
Loading…
Add table
Add a link
Reference in a new issue