Skip to content

Commit

Permalink
gitignore und Kommentare angepasst
Browse files Browse the repository at this point in the history
gitignore:
- .idea generell hinzugefügt

Kommentare auf Englisch übersetzt
  • Loading branch information
Little-Silver committed Nov 15, 2020
1 parent 1a31ef6 commit aecad7c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.idea/misc.xml
.idea/workspace.xml

.idea
8 changes: 2 additions & 6 deletions src/lib/logic-eval.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import { getBinaryArrayFromDecimal } from './binary';
const ShuntingYard = require('./shunting-yard');

/**
* Der Äquivalenz-Operator muss vor dem Implikation-Operator angegeben werden, da gemeinsame Alternative Zeichen verwendet werden.
* The equivalence-operator must be added before the implication-operator,
* because some of the alternativ operators used for implication are also used for equivalence.
* @type {{"→": [string, string, string], "↔": [string, string, string], "∧": [string, string], "∨": [string, string], "¬": [string, string]}}
*/
const mappedOperators = {
Expand Down Expand Up @@ -106,11 +107,6 @@ const parseRPN = (string, values) => {
return result;
};

/**
* Ersetzt alternative Operatoren mit dem "Originalen" Operator
* @param expression
* @returns {*}
*/
const exchangeAlternativeOperators = expression => {
const operators = Object.keys(mappedOperators);

Expand Down

0 comments on commit aecad7c

Please sign in to comment.