Type words. Get code. It's like magic but dumber.
# You: "I'll just install it normally"
pip install stuff
# Linux: "lol no"
error: externally-managed-environment
# You: "WHAT"# Install the venv thingy (because apparently Python is too cool for regular installs now)
sudo apt install python3.12-venv
# Make a little Python house
python3 -m venv venv
# Go inside the house
source venv/bin/activate
# NOW you can install stuff like a PEASANT
pip install spacy pydantic numpy rich click sympy scipy matplotlib pytest
# Download the brain
python -m spacy download en_core_web_sm
# Your terminal now looks like this:
(venv) you@computer:~$
# ^ that "(venv)" means you're in the Python house# Next time you open terminal:
cd ~/Documents/wdlic
source venv/bin/activate # β YOU WILL FORGET THIS. EVERYONE DOES.
# Then you can use it:
python3 main.py "your silly scenario"# This will make the computer angry:
python3 main.py why is water wet
# Error: Got unexpected extra arguments (is water wet)
# Computer: "USE QUOTES DUMMY"
# This is too simple:
python3 main.py water
# Output: *sad generic code noises*
# This is a QUESTION not a SCENARIO:
python3 main.py "what is the meaning of life"
# WDLIC: "I... I don't know man, I just make code"# YES - Psychology drama
python3 main.py "A person musters courage to text their crush"
# YES - Physics chaos
python3 main.py "A cat knocks a cup off a table and watches it fall"
# YES - Social dynamics
python3 main.py "Five people argue about where to eat and eventually give up"
# YES - Math stuff
python3 main.py "Calculate how long until I can afford a house (spoiler: never)"python3 main.py "Someone scrolls social media at 3am instead of sleeping"
python3 main.py "A person tries to parallel park and gives up after 47 attempts"
python3 main.py "Two people both wait for the other to text first for 3 weeks"
python3 main.py "Someone builds confidence by pretending to know what they're doing"python3 main.py "A pizza box slides off a car roof at 30 mph"
python3 main.py "A phone falls out of pocket in slow motion while you watch in horror"
python3 main.py "Calculate how hard you need to throw something to reach the moon (very)"python3 main.py "Group chat descends into chaos over whether water is wet"
python3 main.py "Everyone pretends to understand the math homework"
python3 main.py "Trust issues develop after someone spoils Endgame"python3 main.py "Molecules vibrate faster because they had too much coffee"
python3 main.py "Entropy increases because I haven't cleaned my room in 3 months"
python3 main.py "Calculate the probability of accidentally liking an old Instagram photo"β
Turning scenarios into code
β
Making you feel smart
β
Generating code that actually runs
β
Teaching computational thinking
β
Being oddly satisfying
β Answering "why is water wet"
β Explaining the meaning of life
β Doing your homework (but it can help?)
β Making good life decisions
β Predicting the stock market
β Ordering pizza (we tried)
# NO
python3 main.py why is the sun hot
# YES
python3 main.py "why is the sun hot"# Meh
python3 main.py "something falls"
# CHEF'S KISS
python3 main.py "A bowling ball falls from 100 meters at 9.81 m/sΒ²"- Not: "What is anxiety?"
- Yes: "A person's anxiety increases before giving a presentation"
# You, every single time:
python3 main.py "thing"
# Error: ModuleNotFoundError: No module named 'spacy'
# Fix:
source venv/bin/activate
# NOW it works| Category | What It Means | Example |
|---|---|---|
| Psychology | Brain stuff, feelings, decisions | "Someone panics before a job interview" |
| Physics | Things falling, moving, breaking | "A watermelon explodes when dropped" |
| Math | Numbers, optimization, equations | "Find the maximum number of cookies I can eat" |
| Social | Groups, drama, opinions | "Friend group splits over pineapple on pizza debate" |
| Generic | When WDLIC is confused | "water" β you did this to yourself |
python3 main.py "your scenario"
# Shows: category, assumptions, pseudo-code, Python code, EVERYTHINGpython3 main.py "your scenario" --format pseudo
# Just the logic in plain languagepython3 main.py "your scenario" --format python > my_code.py
python3 my_code.py
# IT ACTUALLY RUNS!Translation: You forgot to activate the venv, dummy
Fix: source venv/bin/activate
Translation: YOU FORGOT THE QUOTES
Fix: Put quotes around your text like "this"
Translation: WDLIC has no idea what you want
Fix: Be more specific! Add actors, actions, numbers!
Translation: Your system Python is locked down
Fix: Use venv like we told you in Step 2
"I described my relationship problems and got working code. Now I understand why I'm single." - Anonymous
"Finally, a tool that's as confused as I am!" - Confused Student
"I asked it why water is wet and it gave me generic code. 10/10 would ask dumb questions again." - That One User (you) that really happened.
"My therapist told me to journal. I used WDLIC instead. Now I have Python classes for my trauma." - Definitely Real Person
"Instructions unclear, accidentally learned how code works." - Reformed Non-Programmer
WDLIC turns "what if..." into "here's the code for that"
It's not good for:
- Learning how things work
- Prototyping ideas quickly
- Understanding computational thinking
- Procrastinating on actual work
- Asking silly questions and getting silly code
It sure aint NOT for:
- Production systems (please god no)
- Your thesis (unless your advisor is cool)
- Predicting the future
- Answering philosophical questions
- Replacing Stack Overflow
START_HERE.md- The boring normal READMEQUICKSTART.md- How to actually use this thingEXAMPLES.md- Good examples (not the dumb ones you tried)
Don't wanna type commands? Fine.
python3 interactive_demo.pyThen just type scenarios when it asks. It's like ChatGPT but worse and it only makes code, and its bad code. logical people will hate it.
If you made it this far in the README, you're either:
- Very bored
- Very thorough
- A stalker
- All of the above
Congrats! Now go make some silly code scenarios, or make the code better i don't know.
Remember:
- Always activate the venv (you won't, but try)
- Use quotes around your text
- Be specific with scenarios
- Have fun breaking things
- Don't ask it philosophical questions (it will judge you)
- and if that fails sudo rm
Now go forth and turn your weird shower thoughts into Python code!
Q: It doesn't work!
A: Did you activate the venv? Did you use quotes? Did you read any of this README?
Q: Can it do [impossible thing]?
A: No. But try it anyway, you might be surprised.
Q: Is water wet?
A: We're not doing this again. lol
Q: Where can I learn more?
A: Read the actual documentation like a responsible human.
**Made with β€οΈ, π , and way too much caffeine and nooooptropics **
WDLIC: Because sometimes you just need to see what your weird ideas look like in code.
_____\/////\\\///__\/\\\///////////____/\\\//////////__\/\\\_____________\///\\\____/\\\/__
_________\/\\\_____\/\\\______________/\\\_____________\/\\\_______________\///\\\/\\\/____
_________\/\\\_____\/\\\\\\\\\\\_____\/\\\____/\\\\\\\_\/\\\_________________\///\\\/______
_________\/\\\_____\/\\\///////______\/\\\___\/////\\\_\/\\\___________________\/\\\_______
_________\/\\\_____\/\\\_____________\/\\\_______\/\\\_\/\\\___________________\/\\\_______
__/\\\___\/\\\_____\/\\\_____________\/\\\_______\/\\\_\/\\\___________________\/\\\_______
_\//\\\\\\\\\______\/\\\\\\\\\\\\\\\_\//\\\\\\\\\\\\/__\/\\\\\\\\\\\\\\\_______\/\\\_______
__\/////////_______\///////////////___\////////////____\///////////////________\///________
