#๐Ÿ”’ help making a programmign language

100 messages ยท Page 1 of 1 (latest)

patent zephyr
#

cant figure out if conditions

tawny cypressBOT
#

@patent zephyr

Python help channel opened

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.

patent zephyr
#

@exotic orchid

#

yo ive restarted the channel

#

lets resume

#

and finally finish this

obtuse spire
#

what's the problem?

dry quail
#

what's the problem?

patent zephyr
patent zephyr
#

srry i dident see

#

msg

obtuse spire
#

no problem

patent zephyr
#

yeah ima just sow u the pastebin

obtuse spire
#

alr

patent zephyr
#

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

dry quail
#

alright so may I know what u r talking about?

obtuse spire
#

@patent zephyr do you need help implementing the code to execute the if?

cerulean island
patent zephyr
#

ima just hwow u both pastebin

obtuse spire
#

is your language interpreted? compiled?

patent zephyr
#

but i would love to make a compiler some day...

obtuse spire
#

i mean it's not long to do, my language is compiled to bytecode and runs beautifully

#

anyways

patent zephyr
#

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

obtuse spire
#

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

patent zephyr
#

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

obtuse spire
#

can you give me a quick insight on how your if is stored inside expr? in the function eval_expression@ code line 171?

patent zephyr
#

@obtuse spire

#

hey actually

#

can we vc in dms? it would make the proccess easier

#

and quicker

obtuse spire
#

no dms.

#

sorry

#

if you want, we can go #751591688538947646

patent zephyr
#

kk

obtuse spire
#

i like my discord dms for my friends only

patent zephyr
#

but i need to warn u

#

im 16 but my voice sounds.. not?

obtuse spire
#

don't worry, im not gonna judge you

patent zephyr
#

lol idk

patent zephyr
#

ima join it

obtuse spire
#

i dont care if you sound 16 or not

patent zephyr
#

@obtuse spire

#

i dont have permissinon to speak or chat?

obtuse spire
#

idk, lets just keep this in a thread then

patent zephyr
#

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

obtuse spire
#

nah man, i just want to keep this to python

#

no new servers

patent zephyr
#

okok

#

alr so what wree u sayin?

patent zephyr
#

r

#

ima check the pastebin

patent zephyr
#

i mean is equal to it

#

which conatins some code relating to ifs or sometin

#

jus hava alil look at it

obtuse spire
#

sorry, i dont understand

patent zephyr
#

idk really eaither

#

much

#

what u mean

#

like it just holds the parse expression funcitont

#

thats all that var does

#

@obtuse spire

#

yello?

tawny cypressBOT
#
Python help channel closed

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.