From 7abee364d87c4337ef3325dfcab9168e5d521e87 Mon Sep 17 00:00:00 2001 From: Murray Calavera Date: Sat, 28 Oct 2023 01:59:29 +0100 Subject: [PATCH] rename --- Lang.gren.in | 8 ++++---- Main.gren | 12 ++++++------ lang/c | 2 +- lang/go | 2 +- lang/haskell | 2 +- lang/java | 2 +- lang/lua | 2 +- lang/mercury | 2 +- lang/pony | 2 +- lang/twelf | 2 +- lang/x86-64 | 2 +- 11 files changed, 19 insertions(+), 19 deletions(-) diff --git a/Lang.gren.in b/Lang.gren.in index d28da8d..fbf1fc8 100644 --- a/Lang.gren.in +++ b/Lang.gren.in @@ -31,7 +31,7 @@ type alias Language = , concurrency : Array Concurrency , runtime : Array Runtime - , elegance : Elegance + , orthogonality : Orthogonality , example : String } @@ -188,9 +188,9 @@ def(Runtime, runtime, Hotswapping, Hotswapping, Parts of the program can be updated while it is running, VirtualMachine, Virtual Machine, The program is executed inside a virtual machine) -def(Elegance, elegance, - Elegance, - «Disagree? Too bad, you're wrong», +def(Orthogonality, ortho, + Orthogonality, + The language is consistent with few exceptions and few primitive constructs relative to it's expressive power, Impressive, Impressive, The work of a genius, Acceptable, Acceptable, Works well enough, Embarrassing, Embarrassing, Design by committee or by fool) diff --git a/Main.gren b/Main.gren index 0acbfb6..3926438 100644 --- a/Main.gren +++ b/Main.gren @@ -52,7 +52,7 @@ type alias Query = , features : Dict String Trilean , concurrency : Dict String Trilean , runtime : Dict String Trilean - , elegance : Array Lang.Elegance + , ortho : Array Lang.Orthogonality , helloworld : Int } @@ -71,7 +71,7 @@ emptyQuery = , features = Dict.empty , concurrency = Dict.empty , runtime = Dict.empty - , elegance = [] + , ortho = [] , helloworld = 1000 } @@ -123,7 +123,7 @@ type Msg | ToggleFeature Lang.Feature | ToggleConcurrency Lang.Concurrency | ToggleRuntime Lang.Runtime - | ToggleElegance Lang.Elegance + | ToggleOrtho Lang.Orthogonality | DragHelloWorld Int select : a -> Maybe a -> Maybe a @@ -185,7 +185,7 @@ update msg model = ToggleFeature o -> query model (\q -> { q | features = toggle3 (Lang.featName o) q.features }) ToggleConcurrency o -> query model (\q -> { q | concurrency = toggle3 (Lang.concurrencyName o) q.concurrency }) ToggleRuntime o -> query model (\q -> { q | runtime = toggle3 (Lang.runtimeName o) q.runtime }) - ToggleElegance o -> query model (\q -> { q | elegance = toggle o q.elegance }) + ToggleOrtho o -> query model (\q -> { q | ortho = toggle o q.ortho }) DragHelloWorld i -> query model (\q -> { q | helloworld = i }) @@ -230,7 +230,7 @@ view m = , selectArray m.query.status Lang.status ToggleStatus , selectArray m.query.platform Lang.platform TogglePlatform , selectArray m.query.spec Lang.spec ToggleSpec - , selectArray m.query.elegance Lang.elegance ToggleElegance + , selectArray m.query.ortho Lang.ortho ToggleOrtho , selectArray m.query.everything Lang.everything ToggleEverything , div [ class "grow pr-1" ] [ ] ] @@ -461,7 +461,7 @@ filter q l && filterAll q.features l.features Lang.featName && filterAll q.concurrency l.concurrency Lang.concurrencyName && filterAll q.runtime l.runtime Lang.runtimeName - && filterAny q.elegance l.elegance + && filterAny q.ortho l.orthogonality && filterHelloWorld q l filterDomain : Query -> Language -> Bool diff --git a/lang/c b/lang/c index a228b56..1bf481c 100644 --- a/lang/c +++ b/lang/c @@ -19,7 +19,7 @@ features = [ Goto, Macros, MutableState, NominalTyping ] concurrency = [ HardwareThreads ] runtime = [ Stack ] -elegance = Embarrassing +orthogonality = Embarrassing example = """ #include diff --git a/lang/go b/lang/go index 2babdf8..90f90b1 100644 --- a/lang/go +++ b/lang/go @@ -19,7 +19,7 @@ features = [ Goto, MutableState, NominalTyping, TypeInference, Introspection ] concurrency = [ HardwareThreads, Coroutines, Channels ] runtime = [ Stack, Scheduler, GarbageCollector, ErrorHandling ] -elegance = Embarrassing +orthogonality = Embarrassing example = """ package main diff --git a/lang/haskell b/lang/haskell index aa222b5..8b7beb9 100644 --- a/lang/haskell +++ b/lang/haskell @@ -19,7 +19,7 @@ features = [ Closures, TypeInference, NominalTyping, Lazy, OffSideRule ] concurrency = [ STM ] runtime = [ Stack, Scheduler, GarbageCollector, ErrorHandling, Abstraction ] -elegance = Acceptable +orthogonality = Acceptable example = """ import qualified Data.Time as Time diff --git a/lang/java b/lang/java index 66ded35..ac6a761 100644 --- a/lang/java +++ b/lang/java @@ -19,7 +19,7 @@ features = [ MutableState, NominalTyping, Exceptions, Introspection, AdHocPoly ] concurrency = [ HardwareThreads ] runtime = [ Stack, Interpreter, Scheduler, GarbageCollector, ErrorHandling, Abstraction, VirtualMachine ] -elegance = Embarrassing +orthogonality = Embarrassing example = """ public class Antiprime { diff --git a/lang/lua b/lang/lua index 4409a4f..b3dced6 100644 --- a/lang/lua +++ b/lang/lua @@ -19,7 +19,7 @@ features = [ Goto, Closures, MutableState ] concurrency = [ Coroutines ] runtime = [ Stack, Interpreter, Scheduler, GarbageCollector, ErrorHandling, Abstraction, VirtualMachine ] -elegance = Acceptable +orthogonality = Acceptable example = """ local num = tonumber(arg[1]) or 4 diff --git a/lang/mercury b/lang/mercury index 09cebc1..f6129c3 100644 --- a/lang/mercury +++ b/lang/mercury @@ -19,7 +19,7 @@ features = [ Exceptions, TypeInference, NominalTyping, Closures ] concurrency = [] runtime = [ Stack, ErrorHandling, Unifier, Solver, GarbageCollector ] -elegance = Acceptable +orthogonality = Acceptable example = """ :- module beer. diff --git a/lang/pony b/lang/pony index d3ff83c..3813ab5 100644 --- a/lang/pony +++ b/lang/pony @@ -19,7 +19,7 @@ features = [ MutableState, NominalTyping, StructuralTyping, Exceptions, Parametr concurrency = [ Actors, MessagePassing ] runtime = [ Stack, Scheduler, GarbageCollector, ErrorHandling, Abstraction ] -elegance = Impressive +orthogonality = Impressive example = """ use "collections" diff --git a/lang/twelf b/lang/twelf index 4d86490..4618201 100644 --- a/lang/twelf +++ b/lang/twelf @@ -19,7 +19,7 @@ features = [ NominalTyping, TypeInference, Dependent ] concurrency = [ ] runtime = [ Interpreter, Unifier, Solver ] -elegance = Impressive +orthogonality = Impressive example = """ %% natural numbers diff --git a/lang/x86-64 b/lang/x86-64 index 3c9358b..1cc1fe1 100644 --- a/lang/x86-64 +++ b/lang/x86-64 @@ -19,7 +19,7 @@ features = [ Goto, Macros, MutableState, Reflection, Introspection ] concurrency = [ HardwareThreads ] runtime = [ ] -elegance = Embarrassing +orthogonality = Embarrassing example = """ .globl _start