Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
middayc
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
middayc
11mo ago
Another page about Rye tables: https://ryelang.org/cookbook/working-with/tables/
32.
▲
Building GUIs with Rye and Fyne: 16 working examples
(ryelang.org)
1 points
by
middayc
11mo ago
|
0 comments
33.
▲
Jacking into the Rye's Cybergrid
(asciinema.org)
2 points
by
middayc
11mo ago
|
0 comments
34.
▲
by
middayc
1y ago
Yes, a lot of REBOL ideas, that Rye took, or various functional, homoiconic langauges implement (haskell, lips, clojure, scheme, Io, Factor) come from search for greater internal consistency than your ALGOL-derived status-quo languages prov
35.
▲
by
middayc
1y ago
True, there is the "old maintainer" aspect, that differs. But what exactly does this mean in relation that what are special forms in other languages are function calls in Rye? Is the problem that you somebody could make their own
36.
▲
by
middayc
1y ago
I used R for a while to do visualizations, but I never got to it's more homoiconic side, but I saw since then that it has it. Can you also put code into { 6 }, like { print(6) }? Does this overwrite R's if or how does the scoping
37.
▲
by
middayc
1y ago
You can't delete word binding in Rye. I will have to add some solution just for REPL, because sometimes you instantiate something and make a bug and need to reiterate, but in the language itself no.
38.
▲
by
middayc
1y ago
Sorry, but I don't understand the example. In Rye, as in REBOL all first level block evaluations (do, if, for, loop, ...) happend in current scope (context). Rye has first class contexts and it's one of more exciting things to me
39.
▲
by
middayc
1y ago
What exactly would be the e. coli here? I mean this is not the first dynamic, homoiconic, reflective language. Which one of these os something I didn't list is the obvious negative or e. coli as you call it?
40.
▲
by
middayc
1y ago
You still have this problem? I tested and fixed css yesterday. What exactly is problematic?
41.
▲
by
middayc
1y ago
If Python has special syntax for `if` and so makes if an expression, it doesn't mean that `if` is a function. If `if` is a function why don't you call it like other functions in Python? if( .... ) Functions are first clas
42.
▲
by
middayc
1y ago
This is another subject but mathematical operators are and behave (for better and worse - there are also negative consequences of this consistency) like all other op-words, they just don't need . in front and correct, non-op-word is pr
43.
▲
by
middayc
1y ago
I've been programming in REBOL for decade(s) so this is just how it worked and made sense and we never used term "lazy evaluation", so it not part of my vocabulary when explaining this. Blocks are not evaluated by default, bu
44.
▲
by
middayc
1y ago
I agree. This is not something you would usually use to program, at least not all three together, but as it's written it's consistent and signals exactly what it does, to someone that knows Rye conventions / rules. I can brea
45.
▲
by
middayc
1y ago
That is sort of like saying all visual art projects want to become "the million dollar / pixel homepage" so providing an empty canvas and full color palete will just enable people to create visual sewage because nothing stops
46.
▲
by
middayc
1y ago
My bad :), Gilligan typed language would resolve this at compile time. Will fix.
47.
▲
by
middayc
1y ago
Python was used as an example because people know Python and reader can compare it to something known. I wasn't trying to make Python look awkward. I was trying to write equivalent Python, you are very much welcome to suggest improveme
48.
▲
by
middayc
1y ago
It depends on what you want. If you want the most stabile and predictable way to specify the behavior, then static control structures have little downsides. If you want to explore with how you can specify behaviors or rules and create new o
49.
▲
by
middayc
1y ago
interesting. Give us an example of it's usage ... or how you implemented it?
50.
▲
by
middayc
1y ago
I’ve personally always thought that REBOL’s use of set-words and similar constructs was a strength. It makes sense conceptually, is visually distinguishable, and maintains a strong sense of internal consistency. REBOL (and by extension, Rye
51.
▲
by
middayc
1y ago
You can do it, but that is not how the (default) control structures work in those languages. There is usually also some syntax cost.
52.
▲
by
middayc
1y ago
You can't really redefine if because everything is a constant, but you can define if in your own context yes.
53.
▲
by
middayc
1y ago
Yes, Io language is closest to that syntax probably: https://iolanguage.org/guide/guide.html#Introduction
54.
▲
by
middayc
1y ago
Yes, Rye follows REBOL in this case. Plain block invocation doesn't create it's own scope / context. That holds for do, if, either, loop, for, map, etc. It would be costly to have this on by default. If you want separation th
55.
▲
by
middayc
1y ago
I don't know a lot about Tcl, but one thing I know is said for it "everything is a string". In REBOL's it's somewaht reverse as all this live code are REBOL (Rye) values and REBOL (and Rye) have an unusual number of
56.
▲
by
middayc
1y ago
Rye is foremost a REBOL and REBOL has this notion of many types of words at it's core: `word` - regular word, can evaluate to value it's bound to or call a funtion if bound to a function `word: "value"` - set-word, assig
57.
▲
by
middayc
1y ago
I fixed it thanks! I was able to activate dark more in Firefox on desktop and find problems with CSS.
58.
▲
by
middayc
1y ago
there is no if { } else { } in REBOL or Rye and it wouldn't really fit. There is either function that accepts two code blocks. It can act as a typical if / else or as a ternary expression as it also returns the result of a block:
59.
▲
by
middayc
1y ago
There is a language https://sprylang.se/index.html which started more as Rebol and moved towards Smalltalk.
60.
▲
by
middayc
1y ago
Thank you all for heads up! I was playing with CSS and didn't test the dark mode. I think it's fixed now.
More ›