1350e09bde
Simplifies some parsing functions
2024-07-31 19:39:01 +02:00
ee86e3be2f
Merged branches
2024-07-18 18:41:04 +02:00
3dad5754f9
fmt and todo
2024-07-18 17:45:57 +02:00
57b5f82c8d
Removed one(1) argument from a macro!
2024-07-18 17:06:13 +02:00
d948471ed5
Updated lib to latest version and fmt
2024-07-17 13:04:05 +02:00
4447d800df
Fixed a few bugs in absorption and doubled the code 😎
2024-07-14 19:31:45 +02:00
abad6181cb
format with rustfmt
2024-07-14 19:08:58 +02:00
60b9bdc28a
More tests
2024-07-08 11:56:32 +02:00
9b6a24e222
Merged a few branches in absorption law together
2024-07-04 13:05:52 +02:00
7044dc304d
Helper functions on Expression
2024-07-02 01:38:35 +02:00
1c6d400f4a
Fixed bugs in simplify
2024-06-28 17:58:56 +02:00
ba4f3b78ad
Merge branch 'master' into operations-fix
2024-06-27 19:09:50 +02:00
270a71211c
Fixed parser not working on larger in parentheses expressions
2024-06-27 19:09:37 +02:00
d18b7bdaf8
Operations on absorption law and split the function in two.
...
Distributive law operations.
Added some new unit tests.
2024-06-27 18:31:37 +02:00
08d7fa2319
Fixed extra parentheses on or expressions wrapped in not.
...
Fixed order of operations in eliminate not functions
2024-06-26 18:35:23 +02:00
21f66d9409
Fixed bug surrounding implies with parentheses when unnecessary.
...
Fixed correct saving of operation in elimination of implication.
Must use macro on helpers
2024-06-26 17:35:53 +02:00
23cbb83391
Removed tower from deps
2024-06-26 10:40:40 +02:00
b3a3484e99
Replaced main with the new AppBuilder
2024-06-26 10:40:40 +02:00
1b94e63915
Removed unused feature.
...
Optimized use statements in main.
Simplified truth_combinations code a little.
Updated OpenAPI spec
2024-06-23 19:20:30 +02:00
38fc8ce383
Fixed removing trailing slashes
2024-06-22 20:23:28 +02:00
4b6608fd4f
Using library and removed common functions ( #3 )
...
* Added lib from git and removed code which is in lib now
* NormalizePathLayer to remove trailing slash
2024-06-22 17:33:33 +02:00
e7f1ae156d
Ignore Case function
2024-06-21 18:07:42 +02:00
d9c0d90af4
More info on index route.
...
Macros to simplify some main code
2024-06-21 00:18:23 +02:00
7f2440e08c
Moved some duplicate code to macros.
...
Socket to config.rs
2024-06-20 23:37:26 +02:00
8997364ef1
Split load_html into a more generic method
2024-06-20 19:08:52 +02:00
6b1a6467f0
Added missing /
2024-06-20 18:45:01 +02:00
d2f89ab827
Static files are created first then moved over to build, where they are compiled
2024-06-20 18:33:20 +02:00
ede5eedc24
load html on compile time instead of runtime.
...
Maybe fixed not found link to refer to correct url in release
2024-06-20 18:00:12 +02:00
bfd8053c15
Updated name for deploy action and url for docs from not found
2024-06-20 14:21:01 +02:00
2dd361ce7e
Not found page with html and moved utils into index and split http requests to separate files.
...
Static dir for hosting html files.
Helper function for loading HTML.
Changed location where openapi.html is generated and updated dockerfile
2024-06-20 14:05:51 +02:00
6df5152061
Fixed hide intermediate steps, such that header and body is of same length
2024-06-17 23:04:47 +02:00
bcf8b87f5f
Hide intermediate steps in truth table
2024-06-17 22:28:41 +02:00
2e9f6cd171
Macro for creating routes
2024-06-17 12:55:11 +02:00
78368772eb
Fixed parenthesis when not needed. Removed some unused functions
2024-06-17 11:41:28 +02:00
9226060397
Library for Derive Macros and impl IntoResponse trait
2024-06-17 00:47:07 +02:00
6b6f4b4779
Table endpoint for generating a truth table from a string expression
2024-06-17 00:21:18 +02:00
d0198eab5d
Is legal endpoint to check if expression is legal.
...
Moved endpoints to own dir
2024-06-16 21:01:50 +02:00
849c87a878
Fixed bug with deserializing of bool
2024-06-16 20:19:03 +02:00
d24fafdcb7
Operations ( #2 )
...
* Fixed? operations for elim_of_implication
* Removed simplify
* Returned to original operations. Moved som dupelicate code to func
2024-06-16 19:24:52 +02:00
5dc4a8e429
Show openapi docs in release mode
2024-06-16 12:54:53 +02:00
4d953178e3
Host OpenAPI Redoc page in dev mode
2024-06-16 01:24:29 +02:00
ee4523207b
Updated package.json with scripts and created a dist dir for build files
2024-06-16 00:59:34 +02:00
9431eb2fa9
Option to hide false or true values in truthTable
2024-06-16 00:36:59 +02:00
b9998ce7bf
Option to sort truthTable
2024-06-16 00:12:52 +02:00
32d5089b44
Options for truth table.
...
Propagate error message from parser to client
2024-06-15 23:45:06 +02:00
4b22fc4a7e
Replaced macros with functions and Box with Rc
2024-06-14 18:38:37 +02:00
db4dc2db54
Removed Language and ErrorKind
2024-06-14 16:34:11 +02:00
a805eb4b73
BaseResponse struct that gets version from cargo.toml
2024-06-13 23:35:05 +02:00
2a826be8ea
Logging. CORS(*). Version in response and error type for JSON response
2024-06-13 18:58:50 +02:00
c1b9273e0c
Deploy with docker-compose ( #1 )
...
Deploy using docker-compose and GitHub Actions.
Created a simple get endpoint to check if server is running on /
Updated address from 127.0.0.1 to 0.0.0.0
2024-06-13 14:42:42 +02:00