38 lines
650 B
HTTP
38 lines
650 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}}
|
|
|
|
### GET with table
|
|
< {%
|
|
import {expression} from "./common";
|
|
|
|
expression("A & B | C")
|
|
%}
|
|
GET {{url}}/simplify/table/{{expression}}
|