Because of a bet from me and my entire class where I can make a programming language from having no knowledge of how to code, all in this year.
Here we have a prototype The LogicGate
This is an esolang I made which is inspired by logic gates, very obvious(lol)
This language can compile and decompile stuff, where because of my own technical problem it is designed for manual encryption.
Now in this link we can see
the main module, LogicGate.py
the code, main.lgeso
and everyone should know this, main.py
This template program compiles the “Hello World!” into lgeso code and run it, you guys can try to have fun with it, or testing it’s limit without touching any of the code in LogicGate.py
Basically, one line is one bit
The bit being 1 or 0 is determined by the gates of that line
If you set ascii to True it will convert the result to ascii, separated by any line with —(3 hyphens)
Gates:
A(and gate)
O(or gate)
N(not gate)
Example use case:
A10 → 0(and gate with 1 and 0)
O10 → 1(or gate with 1 and 0)
N1 → 0 (not gate with 1)
OA101 → 1 (or gate with (and gate with 1 and 0) and 1)
Etc
Well since I want to make an INCLUDE function like python’s import
And then I failed unable to prevent exploits to the code and process multi output gates
Frustration is the teacher of programmer … if programming does nt bring frustration than nothing new is being done (well this is true un anything actually).
Do not tell me that.
I have immense pressure at work, busy at home, and getting frustrated over few things I am programming in my little free time. And no regrets!