Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

spec-parser.js 444B

12345678910111213
  1. import { seedSpec } from '../util.js';
  2. export default function getParser({ tokenizers }) {
  3. return function parseSpec(source) {
  4. var _a;
  5. let spec = seedSpec({ source });
  6. for (const tokenize of tokenizers) {
  7. spec = tokenize(spec);
  8. if ((_a = spec.problems[spec.problems.length - 1]) === null || _a === void 0 ? void 0 : _a.critical)
  9. break;
  10. }
  11. return spec;
  12. };
  13. }