10 karma · joined Aug 31, 2022 (4y ago) · 10 submissions
comment 2y ago · link · parent
Prolog is pretty different from the mainstream.
I would also like to try to be way too fancy about parsing aoc data at some point. That example of a CSV parser in four lines blows my mind. Not really because of the number of lines, but just the whole type system.
I'm doing it in uiua, and I don't expect to last long to be honest.
comment 3y ago · link · parent
However, the phone has the pro that you can have any arbitrary keyboard layout. In that case I think that perhaps APL might be pretty well suited. Perhaps we should design languages around the idea that they should be used on phonescreens, where we don't need to restrict the character set to ASCI?
I have an APL program and I like using it basically like a calculator, but I imagine one could write full programs on a phone, if we did some tweaking to the interface.
comment 3y ago · link · parent
comment 3y ago · link · parent
I'll definitely be checking this out!
comment 3y ago · link · parent
1. all cities need to be connected to each others (for this to be interesting you also need to turn on that passengers can have destinations farther away than just next town), and 2. industries that spawn too far away from a town must be destroyed (because industry spawns randomly across the map and then is coupled to a town)
I don't know if that would be enough for you, but definitely puts an extra strain on the economy, but in the end, I mostly enjoy trying to handle the pax stuff.
comment 4y ago · link · parent