From 118fb86b5306c7cf2b8707b75c330aaf1ca67bbd Mon Sep 17 00:00:00 2001 From: Quinn Dougherty Date: Thu, 21 Apr 2022 22:55:56 -0400 Subject: [PATCH] got the OldParser out of the diff (annoyance) --- packages/squiggle-lang/src/rescript/OldParser/Parser.res | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/squiggle-lang/src/rescript/OldParser/Parser.res b/packages/squiggle-lang/src/rescript/OldParser/Parser.res index df8b7a85..8a5e4390 100644 --- a/packages/squiggle-lang/src/rescript/OldParser/Parser.res +++ b/packages/squiggle-lang/src/rescript/OldParser/Parser.res @@ -270,6 +270,7 @@ let fromString2 = str => { which returns a JSON with (hopefully) a single-element array. This array element is the top-level node of a nested-object tree representing the functions/arguments/values/etc. in the string. + The function MathJsonToMathJsAdt then recursively unpacks this JSON into a typed data structure we can use. Inside of this function, MathAdtToDistDst is called whenever a distribution function is encountered. */