Posts: 4,647
Threads: 1,494
Joined: Sep 2016
i tested this and it is possible to make a Python script be an interpreter of another script on the other script's #! line. so what i think i want to do is make a stack-oriented language that has the run-time features of Python.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Posts: 4,647
Threads: 1,494
Joined: Sep 2016
i never encountered
peak or anything else doing this. when i thought about it, rather than ask if it could be done (that there was nothing in python that would break it), i decided to test it since such a test would be simple enough.
anyway, i am think of a stack oriented language (somewhat like Forth) but operates in the Python data space. i would add a stack and operate it in a separate local name space. it would have access to everything a Python script would have access to. an interpreter written in Python should be very simple for this. this is the kind of stuff that is fun for me.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.