Skip to content

Commit b3b1cb9

Browse files
committed
READMEs
1 parent 3833146 commit b3b1cb9

File tree

3 files changed

+22
-3
lines changed

3 files changed

+22
-3
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Tools for working with and analyzing PowerQuery (M Language) scripts
44
- Haskell lexer/parser/printer ([language-powerquery])
55
- PowerBI `.pbix` file reader ([pbix])
66
- Example IHaskell (Jupyter) [notebooks]
7+
- [Pbix Example]
78

89
# Build
910
- [Install Nixpkgs]
@@ -14,6 +15,9 @@ nix-build --cores 0 -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/19.03.ta
1415
/nix/store/3lzlivfyy7cqnxw0q594amsj94yswk43-powerquery-env
1516
12:52 barak@berkos:~/Development/atidot/language-powerquery/build (master) $
1617
~~~
18+
- `make` (JavaScript / NodeJS)
19+
- TODO:
20+
1721
- `make` (Docker)
1822
- TODO:
1923

@@ -36,9 +40,15 @@ nix-shell --cores 0 -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/19.03.ta
3640
[I 13:37:07.300 LabApp] Accepting one-time-token-authenticated connection from ::1
3741
~~~
3842

43+
## TODO
44+
- [ ] Hackage packages
45+
- [ ] Javascript version
46+
- [ ] [Reflex] Editor (CodeMirror, JSONEditor)
47+
3948
[language-powerquery-ast]: https://github.com/Atidot/language-powerquery/tree/master/language-powerquery-ast
4049
[language-powerquery]: https://github.com/Atidot/language-powerquery/tree/master/language-powerquery
4150
[pbix]: https://github.com/Atidot/language-powerquery/tree/master/pbix
4251
[notebooks]: https://github.com/Atidot/language-powerquery/tree/master/examples
4352
[Install Nixpkgs]: https://nixos.org/nix/download.html
44-
53+
[Reflex]: https://reflex-frp.org/
54+
[Pbix Example]: https://github.com/Atidot/language-powerquery/blob/master/examples/PowerBI_File_PBIX/Pbix_Example.ipynb

language-powerquery/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,19 @@ PowerQuery (M Language) Parser
66

77
## Specification
88
- [Power Query M Formula Language Specification PDF]
9-
- Code follows specification closely
9+
- Code follows specification closely
10+
1011
![alt text][spec_vs_code]
1112

1213

1314
## TODO
1415

16+
- [ ] Package for Hackage
17+
- [ ] More documentation
18+
- [ ] Missing Lexer/Parser special keywords ([Link])
19+
1520
[Power Query M Formula Language Specification PDF]: https://docs.microsoft.com/en-us/powerquery-m/power-query-m-language-specification
1621
[spec_vs_code]: raw/spec_vs_code.png
1722
[alex]: https://github.com/simonmar/alex
1823
[happy]: https://github.com/simonmar/happy
24+
[Link]: https://github.com/Atidot/language-powerquery/blob/8d40aa07d9a37dd2b87b4476850448291f656241/language-powerquery/src/Language/PowerQuery/Parser.y#L183

pbix/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ ularI "iris", _sectionMember_expression = LetE (LetExpression {_letExpression_va
2828
~~~
2929

3030
### Print the AST as a JSON
31-
- ([iris dataset])
3231
~~~ shell
3332
12:58 barak@berkos:~/Development/atidot/language-powerquery/build (master) $ ./result/bin/pbix print --path ../examples/PowerBI_File_PBIX/iris.pbix --formula Section1.m -x -j | head -c 1000
3433
{"tag":"SectionDocument","contents":{"_section_attributes":null,"_section_name":{"tag":"RegularI","contents":"Section1"},"_section_members":[{"_sectionMember_expression":{"tag":"LetE","contents":{"_letExpression_expression":{"tag":"L
@@ -40,6 +39,7 @@ able_expression":{"tag":"LogicalE","contents":{"tag":"And_OE","conte
4039
~~~
4140
4241
### Print all String Literals (using [jq])
42+
- ([iris dataset])
4343
~~~ shell
4444
12:25 barak@berkos:~/Development/atidot/language-powerquery/build (master) $ ./result/bin/pbix print --path ../examples/PowerBI_File_PBIX/iris.pbix --formula Section1.m -x -j | jq -c 'paths as $path | select(getpath($path) == "String
4545
L") | getpath($path[:-1]) | .contents'
@@ -60,6 +60,9 @@ L") | getpath($path[:-1]) | .contents'
6060
"#\"Changed Type\""
6161
~~~
6262

63+
## TODO:
64+
- [ ] Implement `Traversal` for `HasFormula DataMashup`
65+
6366
[jq]: https://stedolan.github.io/jq/
6467
[Build]: https://github.com/Atidot/language-powerquery#Build
6568
[iris dataset]: https://www.kaggle.com/arshid/iris-flower-dataset

0 commit comments

Comments
 (0)