[HN Gopher] Lunatic Python: Lua Inside Python, and Python Inside...
       ___________________________________________________________________
        
       Lunatic Python: Lua Inside Python, and Python Inside Lua
        
       Author : scrollaway
       Score  : 11 points
       Date   : 2021-04-03 21:18 UTC (1 hours ago)
        
 (HTM) web link (labix.org)
 (TXT) w3m dump (labix.org)
        
       | chaps wrote:
       | Hah, this is great.
       | 
       | Way back when I played minecraft, we used a mod called
       | OpenComputers, which was basically a lua-based terminal inside
       | minecraft. It had a package manager, python, and pastebin for
       | managing code. It was really neat! Still think it's funny that it
       | was Java -> Lua -> Python.
       | 
       | Ended up using that to "3d print" objects to make png murals
       | using a python backend, some jad/sed/awk/grep, lua, and a python
       | "frontend". The 3d printer allowed specifying color, but since
       | you could also specify colors by x/y/z coords of other blocks, I
       | decided to constrain the project to color definitions that way.
       | Because masochism, probably. Wasn't easy, since block definitions
       | were sometimes in java, hence jad. By FAR the jankiest project
       | I've ever worked on, but damn did I learn a lot along the way,
       | including some machine learning basics.
        
       | brutal_chaos_ wrote:
       | This is a really neat bridge IMHO. I'd like to see more of this
       | type of work. Language bridging. Imagine a Jupyter Notebook being
       | able to use all different kinds of languages together in said
       | notebook. Just an example use case, I'm sure there are plenty,
       | plenty more.
        
       ___________________________________________________________________
       (page generated 2021-04-03 23:00 UTC)