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.

parser.js 332B

123456789101112131415161718
  1. "use strict";
  2. const getSyntax = require("./get-syntax");
  3. const patch = require("./patch-postcss");
  4. function parser (source, lang, opts) {
  5. patch();
  6. const syntax = getSyntax(lang, opts);
  7. const root = syntax.parse(source, opts);
  8. root.source.syntax = syntax;
  9. root.source.lang = lang;
  10. return root;
  11. }
  12. module.exports = parser;