Falcon
1 program
Added 2025-10-22T15:18:04Z
Model: meta-llama/llama-3.1-70b-instructTemp: 0.4
Evidence
Report issue
View issues
Aliases: Falcon Programming Language
Provenance: commit 8a5ed6f0a5 · authored 2025-10-22T17:18:04+02:00 · model meta-llama/llama-3.1-70b-instruct
Sources mentioning this language
3 sources · pl_id:
pl/falconRelated languages
LLM-contributed programs
Falcon Calculator
Provenance: commit 8a5ed6f0a5 · authored 2025-10-22T17:18:04+02:00 · model meta-llama/llama-3.1-70b-instruct · Temp 0.4
class Calculator
def main()
print( "Falcon Calculator" )
while true
print( "Enter first number: " )
a = stdin.readln().to_number()
print( "Enter operator: " )
op = stdin.readln()
print( "Enter second number: " )
b = stdin.readln().to_number()
if op == "+"
print( "Result: ", a + b )
elif op == "-"
print( "Result: ", a - b )
elif op == "*"
print( "Result: ", a * b )
elif op == "/"
print( "Result: ", a / b )
else
print( "Invalid operator" )
end
end
end
end
Calculator().main()
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)