Skip to content

Commit 61a721d

Browse files
authored
Merge pull request #3 from madlib-lang/refactor/update-for-madlib-0.12.0
Refactor/update for madlib 0.12.0
2 parents 27e9fe7 + 9604180 commit 61a721d

File tree

5 files changed

+91
-213
lines changed

5 files changed

+91
-213
lines changed

madlib.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
11
{
22
"name": "MadMarkdownParser",
3-
"version": "0.0.2",
4-
"madlibVersion": "0.11.0",
3+
"version": "0.0.3",
4+
"madlibVersion": "0.12.0",
55
"main": "src/Main.mad",
66
"importAliases": {
77
".": "src"
88
},
9-
"dependencies": [
10-
{
11-
"minVersion": "0.0.6",
12-
"url": "https://github.com/madlib-lang/madparser/archive/refs/tags/v0.0.6.zip",
13-
"description": "MadParser"
14-
}
15-
]
9+
"dependencies": []
1610
}

package-lock.json

Lines changed: 0 additions & 130 deletions
This file was deleted.

src/Example.mad

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,21 +45,16 @@ here are the items:
4545
`
4646

4747

48-
// parseMarkdown(mdFixture) |> IO.inspect
49-
50-
51-
5248
// mdBig = repeat(1500, mdFixture)
5349
// mdBig = repeat(15000, mdFixture)
5450
// mdBig2 = repeat(10000, "Some markdown title")
5551

56-
#-console.time("parse")-#
57-
5852
// IO.log(len(mdBig))
5953

6054
// P.runParser(P.many(P.anyChar), mdBig)
6155
// P.runParser(P.many(P.choice([P.anyChar])), mdBig)
62-
parseMarkdown(mdFixture) |> IO.inspect
6356

64-
#-console.timeEnd("parse")-#
57+
58+
parseMarkdown(mdFixture) |> IO.log
59+
6560

0 commit comments

Comments
 (0)