September 2017 Update

This commit is contained in:
Ingy döt Net 2017-09-23 10:01:46 +02:00
parent bba7bfd280
commit ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions

View file

@ -1,8 +1,6 @@
#import system.
#symbol program =
program =
[
#var Δ := 1.
var Δ := 1.
Δ := Δ + 1.
console writeLine:Δ.

View file

@ -0,0 +1,3 @@
Δ = 1
Δ = Δ + 1
println[Δ]

View file

@ -0,0 +1 @@
{ "Δ": 1 } | .["Δ"]

View file

@ -0,0 +1 @@
.["Δ"]

View file

@ -0,0 +1 @@
."Δ"

View file

@ -0,0 +1,3 @@
{ "Δ": 1 } # initialization
| .["Δ"] += 1 # increment by 1
| .["Δ"] # emit the incremented value

View file

@ -0,0 +1,5 @@
fun main(args: Array<String>) {
var Δ = 1
Δ++
print(Δ)
}

View file

@ -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()

View file

@ -1,3 +0,0 @@
var Δ = 1
Δ.inc()
echo(Δ)

View file

@ -1,3 +0,0 @@
<@ LETVARLIT>Δ|1</@>
<@ ACTICRVAR>Δ</@>
<@ SAYVAR>Δ</@>

View file

@ -1,3 +0,0 @@
<@ LETVARLIT>三角洲|1</@>
<@ ACTICRVAR>三角洲</@>
<@ SAYVAR>三角洲</@>

View file

@ -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

View file

@ -1,4 +0,0 @@
# -*- coding: big5 -*-
Δ = 1
Δ += 1
puts Δ

View file

@ -1,13 +0,0 @@
# -*- coding: euc-jp -*-
class Numeric
def ()
self <=
end
end
= Float::INFINITY
±5 = [-5, 5]
p [(±5.first. ),
(±5.last. ),
(. )]

View file

@ -1,4 +1,5 @@
#![feature(non_ascii_idents)]
#![allow(non_snake_case)]
fn main() {
let mut Δ: i32 = 1;

View file

@ -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);

View file

@ -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();