18 Dec 2023 |
Angelofdollars | * go ask aakash about the protocol, i know nothing about wayland dev so 😠| 16:50:35 |
shinyzenith | Nextwm currently uses a protocol for config setters | 17:01:53 |
shinyzenith | Maybe my protocol design is bad but I think I'd prefer an embeddable dsls | 17:02:13 |
shinyzenith | You can also write your own | 17:02:26 |
shinyzenith | * You can also write your own impl of the protocol which is definitely awesome | 17:03:03 |
shinyzenith | Ah that's cool, will and I are working on the swayfx scene transition | 17:03:24 |
shinyzenith | That includes the animation ticker work | 17:03:34 |
shinyzenith | I'd say there's still a few months left before it's ready | 17:03:53 |
shinyzenith | Also thanks for the setup details! | 17:04:21 |
shinyzenith | River performs the bar to comp protocol you're envisioning | 17:06:24 |
shinyzenith | I believe it's river seat status something | 17:06:34 |
shinyzenith | Can confirm once I'm on my pc | 17:06:39 |
shinyzenith | You can write custom tilers for river too | 17:06:49 |
shinyzenith | To get sway like behavior | 17:07:03 |
shinyzenith | I guess that does already exist too | 17:07:10 |
19 Dec 2023 |
| kolunmi | 03:06:47 |
| Perigord changed their display name from Kenough to Perigord. | 12:10:08 |
| .eater. joined the room. | 15:05:09 |
| .eater. | 15:06:46 |
| fishyfishfish | 16:37:00 |
| fishyfishfish | 16:38:54 |
20 Dec 2023 |
| chiyu_desu joined the room. | 01:00:36 |
| chiyu_desu | 01:14:27 |
| @chiyu_desu:matrix.org joined the room. | 06:35:01 |
Angelofdollars | andreasbackx which syntax do you prefer? A:
add = fun(a, b)
return a + b
end
B:
add = |a, b|
return a + b
end | 08:18:42 |
andreasbackx | Neither really but if I was forced to choose, then be. Though why not use Python or another language and have bindings/a library? | 10:33:06 |
andreasbackx | * Neither really but if I was forced to choose, then B. Though why not use Python or another language and have bindings/a library? | 10:33:15 |
Angelofdollars | https://discord.com/channels/925817758334201937/1172148384807784539/1184352633599832074 | 10:33:31 |
Angelofdollars | But for reference, this is how the current syntax looks like:
# Return the nth Fibonacci number that corresponds to 'count'
fibonacci = fun(count)
first = 1
second = 0
i = 0
while i < count do
tmp = second
second = first
first = tmp + first
i = i + 1
end
return second
end
# Return 'num' raised to the 'power'
pow = fun(num, power)
acc = 1
i = 0
while i < power do
acc = acc * num
i = i + 1
end
return acc
end
print(pow(25, 2)) # 625
print(pow(2, 10)) # 1024
i = 0
while i < 10 do
print(fibonacci(i))
i = i + 1
end | 10:34:19 |
Angelofdollars | Does it look readable to you? | 10:34:31 |