Skip to content

Evaluating arbitrary C-like artithmetic/string expressions concurrently and provide rest api

Notifications You must be signed in to change notification settings

Arterning/gocalc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gocalc

Evaluating arbitrary C-like artithmetic/string expressions concurrently and provide rest api

How to use

We can use j param to control the routine numbers

POST http://localhost:8080/evaluate
Content-Type: application/json

Request body

{
    "exp": {
        "a":"b+c",
        "b":"23423",
        "c":"234",
        "d":"a-34/c",
        "e":"d+324*c",
        "G":"a+e",
        "F":"2048 - b",
        "x":"y-90",
        "y":"365"
    },
    "config": {
      "j":3
    }
}

About

Evaluating arbitrary C-like artithmetic/string expressions concurrently and provide rest api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages