simplify_truths/http/simplify.http
Martin Berg Alstad 9cb0fa0a59 Fix opposite_eq method.
Simplify method in Simplify trait.

Fix distributive law.

Response for the simplify endpoint.

HTTP client.

camelCase and SCREAMING_SNAKE_CASE for struct and enum
2024-06-07 13:06:09 +02:00

30 lines
510 B
HTTP

### GET Atomic Expression
GET {{url}}/simplify/A
### GET And Expression
< {%
import {expression} from './common.js';
expression("A & B")
%}
GET {{url}}/simplify/{{expression}}
### GET Or Expression
< {%
import {expression} from "./common";
expression("A | B")
%}
GET {{url}}/simplify/{{expression}}
### GET Not Expression
GET {{url}}/simplify/!A
### GET Implication Expression
< {%
import {expression} from "./common";
expression("A => B")
%}
GET {{url}}/simplify/{{expression}}