[HN Gopher] Hexagony: A two-dimensional, hexagonal programming l...
___________________________________________________________________
Hexagony: A two-dimensional, hexagonal programming language
Author : zdw
Score : 166 points
Date : 2023-04-15 15:54 UTC (7 hours ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| samdcbu wrote:
| "Hexagons are the bestagons"
|
| https://youtu.be/thOifuHs6eY
| Moissanite wrote:
| Better than all the restagons.
| drewcoo wrote:
| Unrealated to the AH game:
|
| https://boardgamegeek.com/boardgame/1512/hexagony
| gumby wrote:
| OK, if I had to program in this language I might finally be
| driven to use an IDE.
|
| At least until some bright spark produced a decent emacs mode for
| it.
| sleepyams wrote:
| This is cool! There is also Orca: https://100r.co/site/orca.html
| m3kw9 wrote:
| How would you print yellow world?
| gregsadetsky wrote:
| https://github.com/m-ender/hexagony/blob/master/examples/hw....
|
| Click the run button in the top right corner:
| https://hexagony.net/#lzN4Igxg9gJgpiBcIAEKASSDcSaYDoDsUAbTJK...
| spiffytech wrote:
| The fact that I know exactly what that's supposed to do, yet
| I find it completely unintelligible, is the best worst thing!
| Thorrez wrote:
| Why does it say "pointy-topped hexagonal grid" when all the
| pictures are flat-topped?
| wgetch wrote:
| When you arrange point-topped hexagons into an approximately
| hexagonal shape, the combined "hexagon" is flat-topped. Take a
| look at the demo site:
|
| https://hexagony.net/
| kej wrote:
| I'm going to bring this up next time people want to talk about
| Hexagonal Architecture:
| https://en.wikipedia.org/wiki/Hexagonal_architecture_(softwa...
| erur wrote:
| But unlike Hexagonal Architecture this one actually has a
| proper reason for being called hexagonal. Of all hexagonalisms,
| Hexagonal Architecture feels like the hardest to forgive.
|
| They could've called it Avocado architecture - give the
| diagrams some color, even increase global demand for green
| whiteboard markers by 0.1% but nope... Would've sold just as
| well and would've made even more sense...
| vrglvrglvrgl wrote:
| [dead]
| [deleted]
| politician wrote:
| I propose that all future AI development be done in Hexagony, so
| that no one can boast that they understand how it works. :D
| masklinn wrote:
| AI seems closer to malbolge
| (https://esolangs.org/wiki/Malbolge). It's not just that it's
| weird, it's also permanently shifting under you in ways you
| don't understand.
| geonic wrote:
| This is terrible - in a good way
| bordercases wrote:
| This is cool
| omneity wrote:
| I keep thinking one day we will discover a new compute substrate
| and one of these esoteric languages will come right in.
|
| Imagine a hexagonal crystalline structure with special physical
| properties that allow electrons to move a certain way. You never
| know.
| wolfram74 wrote:
| The differential geometry general relativity uses was developed
| for funsies by euler in the 1700's, so there is precedent.
| antiquark wrote:
| Reminiscent of Befunge: https://en.wikipedia.org/wiki/Befunge
| masklinn wrote:
| Yes, it's a fungeoid (https://esolangs.org/wiki/Fungeoid),
| using a hexagonal grid. Ignoring dimensionality, non-square
| fungeoids are not novel e.g. hyperfunge
| (https://esolangs.org/wiki/Hyperfunge) uses pentagonal cells
| (it also uses a hypergrid, so each cell is surrounded by 20, 4
| at each corner).
| hinkley wrote:
| "It's a portmanteau of hexagon and agony because... well, try
| programming in it"
| spacedcowboy wrote:
| I am torn between "hell no, not in this life" and "that is
| freaking awesome".
| version_five wrote:
| Read through the code golf website and hexagony comes up pretty
| frequently. I'm with you, it looks cool to see what others do,
| but I cant imagine jumping in and trying to make one myself.
|
| First one I found:
| https://codegolf.stackexchange.com/questions/57617/is-this-n...
| seanmcdirmid wrote:
| Esoteric languages often elicit such contradictory responses.
| rightbyte wrote:
| I like how the instruction pointer bounces off mirror operators
| in angles.
| pyrolistical wrote:
| If 7 bit memory cells were suddenly cheap, we could build a
| hexagonal computer with 7 bit "bytes" where each byte has another
| 6 around it. Repeat with each ring with another set of the last
| group.
|
| We would have a hierarchy of hexagonal cells. Maybe this could
| make for a numbering system. Since this could also represent real
| number in base 7
___________________________________________________________________
(page generated 2023-04-15 23:00 UTC)