-
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
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
|