-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
This file was deleted.
This file was deleted.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,31 @@ | ||
|
||
/** | ||
* This file imports all needed classes from the main branch of the LDE repo. | ||
* We do it in this file so that anywhere else in the app, it can just load this | ||
* This file imports all needed classes from the main branch of the LDE repo. We | ||
* do it in this file so that anywhere else in the app, it can just load this | ||
* file and know it's getting the right classes. Then if we need to change the | ||
* URL, we can do it here in one place, rather than in many places throughout | ||
* the codebase. | ||
*/ | ||
|
||
// local imports (uncomment to use) | ||
export { | ||
LogicConcept, MathConcept, | ||
Environment, Declaration, Expression, LurchSymbol | ||
} from '../lde/src/index.js' | ||
// from 'https://cdn.jsdelivr.net/gh/lurchmath/lde@master/src/index.js' | ||
MathConcept, LogicConcept, Expression, Declaration, Environment, LurchSymbol, | ||
Matching, Formula, Scoping, Validation, Application | ||
} from '../../lde/src/index.js' | ||
export { Problem } from '../../lde/src/matching/problem.js' | ||
export { BindingExpression } from '../../lde/src/binding-expression.js' | ||
export { default } from '../../lde/src/validation/conjunctive-normal-form.js' | ||
|
||
import branchLDE from '../lde/src/experimental/global-validation.js' | ||
//from 'https://cdn.jsdelivr.net/gh/lurchmath/lde@85e7368b912116420a2dc7475c616a721ec38ba1/src/experimental/global-validation.js' | ||
export const LDE = branchLDE | ||
/* From CDN (uncomment to use) | ||
export { | ||
MathConcept, LogicConcept, Expression, Declaration, Environment, LurchSymbol, | ||
Matching, Formula, Scoping, Validation, Application | ||
} from | ||
'https://cdn.jsdelivr.net/gh/lurchmath/lde@master/src/index.js' | ||
export { Problem } from | ||
'https://cdn.jsdelivr.net/gh/lurchmath/lde@master/src/matching/problem.js' | ||
export { BindingExpression } from | ||
'https://cdn.jsdelivr.net/gh/lurchmath/lde@master/src/binding-expression.js' | ||
export { default } from | ||
'https://cdn.jsdelivr.net/gh/lurchmath/lde@master/src/validation/conjunctive-normal-form.js' | ||
*/ |