Move \global and \def to functions (#2138)

* Add parseNode type `internal`

* Move \def and \newcommand to functions

* Fix Flow error

* Separate \global

Move \newcommand back to macros for now

* Rename assignment.js to def.js

* Update test cases

* Add comments

* Update a test case
This commit is contained in:
ylemkimon
2019-12-05 10:07:20 +09:00
committed by Kevin Barabash
parent 0d8830af30
commit b1eeeecf91
8 changed files with 104 additions and 57 deletions

View File

@@ -13,6 +13,7 @@ import "./functions/arrow";
import "./functions/char";
import "./functions/color";
import "./functions/cr";
import "./functions/def";
import "./functions/delimsizing";
import "./functions/enclose";
import "./functions/environment";