#๐ help making a programmign language
100 messages ยท Page 1 of 1 (latest)
@patent zephyr
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
@exotic orchid
yo ive restarted the channel
lets resume
and finally finish this
alright, i can help too if you want
what's the problem?
what's the problem?
hi
no problem
yeah ima just sow u the pastebin
alr
weve made all the logic to recognise and consume the if state ment and code blucks i thinks
but
we havent implemented the logic to add
condition
so ye
if u want ill credit u
alright so may I know what u r talking about?
@patent zephyr do you need help implementing the code to execute the if?
context: https://discord.com/channels/267624335836053506/1311696102214336554
there have been previous threads with those two ๐
yeah uh
well
ima just hwow u both pastebin
or
see this
@obtuse spire
@dry quail
is your language interpreted? compiled?
interpreted, dont hve time for that shi
but i would love to make a compiler some day...
i mean it's not long to do, my language is compiled to bytecode and runs beautifully
anyways
have a look at the pastebina nd tell whe what u think
we still need to implement conditions
also
ignore &&
not gonna implement that yet
that's reasonable, altought i probably woulnd't use python for language development
there are more "agile" alternatives in this field
however that's for another time, let's get back to your interpreter
i tried it in python even tho its not my main cause i thought the syntax and resources online would be easy to use and translate
boy howdy
how i was wrong
well kina
can you give me a quick insight on how your if is stored inside expr? in the function eval_expression@ code line 171?
hol on leme check
@obtuse spire
hey actually
can we vc in dms? it would make the proccess easier
and quicker
kk
i like my discord dms for my friends only
that works ig
but i need to warn u
im 16 but my voice sounds.. not?
don't worry, im not gonna judge you
lol idk
i dont care if you sound 16 or not
idk, lets just keep this in a thread then
wait
acn u just temp joni this gamedev server
it allows for users to make temperafoly vc channels
its also one of te worlds most popular software dev srvers
back to this question
oh it just calls the parse_expression function
i mean is equal to it
which conatins some code relating to ifs or sometin
jus hava alil look at it
sorry, i dont understand
uhh
idk really eaither
much
what u mean
like it just holds the parse expression funcitont
thats all that var does
@obtuse spire
yello?
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.