-
Jul 11th, 2023, 01:02 AM
#1
Thread Starter
Lively Member
Math Evaluator
I've created a tiny compiler that scans, parses and evaluates math expressions.
Example:
Evaluator.Expression = "Sin(rad(x)) / abs(x)"
For i = 1 To 10
Console.WriteLine(Evaluator.Evaluate(i))
Next
The evaluator is written in VB .NET and it is a good place to start if you want to easily learn compilers!
Source:
https://github.com/VBAndCs/sVB-Small...rary/Evaluater
-
Jul 11th, 2023, 04:44 AM
#2
Re: Math Evaluator
That should be in the codebank… it’s not a question
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
-
Jul 11th, 2023, 09:54 AM
#3
My usual boring signature: Nothing
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|