Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(playground): add an AskScript example (Facebook likes) #384

Merged
merged 1 commit into from
Jul 16, 2020

Conversation

czerwinskilukasz1
Copy link
Collaborator

@czerwinskilukasz1 czerwinskilukasz1 commented Jul 9, 2020

Contributes to #181 , doesn't close it.

@czerwinskilukasz1 czerwinskilukasz1 marked this pull request as ready for review July 16, 2020 15:19
Copy link
Contributor

@mhagmajer mhagmajer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@mhagmajer mhagmajer merged commit b1cc591 into master Jul 16, 2020
@mhagmajer mhagmajer deleted the issue_181__more_playground_examples branch July 16, 2020 18:01
xfaang-ci added a commit that referenced this pull request Aug 3, 2020
* chore(tests): rename .ask.snapshot.tsx to .ast.tsx (#350)

* feat(chore): remove existing .ask.snapshot.tsx files to .ast.tsx (#293)

* feat(tests): rename .ask.snapshot.tsx to .ast.tsx in source code (#293)

* feat(vscode): implement VSCode extension for .ask syntax highlighting (#353)

* feat(vscode): implement VSCode extension for .ask syntax highlighting (#318)

* docs(vscode): add README for VS Code syntax highlighting extension

* fix(playground): add GA to the site for Netlify too (#348)

* fix(README): update AskQL diagram (#347)

* feat(askvm): add operator == (#241) (#344)

* feat(askscript): add exclamation mark (!) to operators (#295) (#342)

* fix(package.json): add @jest/environment and @jest/types packages (#341)

* build(deps-dev): bump @babel/polyfill from 7.10.1 to 7.10.4 (#335)

Bumps [@babel/polyfill](https://github.com/babel/babel/tree/HEAD/packages/babel-polyfill) from 7.10.1 to 7.10.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.4/packages/babel-polyfill)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump @typescript-eslint/eslint-plugin (#334)

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v3.5.0/packages/eslint-plugin)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump eslint from 7.3.1 to 7.4.0 (#332)

Bumps [eslint](https://github.com/eslint/eslint) from 7.3.1 to 7.4.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](eslint/eslint@v7.3.1...v7.4.0)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat(askvm): implement notEquals resource and != operator + tests (#368)

* feat(askvm): implement notEquals resource and != operator + tests

* fix(tests): make prettier and tests run successfully again

* build(deps-dev): bump @babel/preset-react from 7.10.1 to 7.10.4 (#338)

Bumps [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react) from 7.10.1 to 7.10.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.4/packages/babel-preset-react)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump @babel/core from 7.10.3 to 7.10.4 (#337)

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.10.3 to 7.10.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.4/packages/babel-core)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump @babel/preset-typescript from 7.10.1 to 7.10.4 (#333)

Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.10.1 to 7.10.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.4/packages/babel-preset-typescript)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump typescript from 3.9.5 to 3.9.6 (#336)

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.5 to 3.9.6.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix(playground): reformat initial sample code (#376)

* feat(askvm): add ! (exclamation) unary operator + tests (#375)

* docs(readme): improve description and benefits (#392)

* fix(askvm): add url param to fetch (#381)

* fix(askvm): adds url param to fetch

* Adds test for fetch

* Updates fetch test

* Applies PR comments

* Revert "Applies PR comments"

This reverts commit 6c7e03b.

* Applies PR comments

Co-authored-by: Richard <[email protected]>

> @czerwinskilukasz1
> 
> I'm afraid I don't have permission to merge.

Ouch, forgot about permission. I will do the merge now, congrats for making your first change in AskQL repository! 🚀 
How did you like it? ;)

* fix(askscript): fix tricky array expression (#383)

* feat: min Closes #369 (#393)

* feat: add a 'bitwiseOr' resource (| binary operator) (#397)

* fix(playground): fix blink on Ctrl-S (issue #377) (#396)

* feat(playground): add an AskScript example (Facebook likes) (#384)

* fix(askscript): fix whitespace issue in control flows (#390) (#394)

* fix(askscript): fix whitespace issue in control flows (#390)

* feat(tests): add tests for whitespace control-flow

* fix(playground): fix links to resources and values (#398) (#399)

* fix: create OS agnostic build command/s for rm and mkdir (#395) (#405)

* build(deps-dev): bump lodash from 4.17.15 to 4.17.19 (#409)

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump webpack from 4.43.0 to 4.44.0 (#414)

Bumps [webpack](https://github.com/webpack/webpack) from 4.43.0 to 4.44.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v4.43.0...v4.44.0)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump @babel/core from 7.10.4 to 7.10.5 (#415)

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.10.4 to 7.10.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.5/packages/babel-core)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump @types/express from 4.17.6 to 4.17.7 (#418)

Bumps [@types/express](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/express) from 4.17.6 to 4.17.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/express)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump express-handlebars from 4.0.5 to 5.1.0 (#420)

Bumps [express-handlebars](https://github.com/express-handlebars/express-handlebars) from 4.0.5 to 5.1.0.
- [Release notes](https://github.com/express-handlebars/express-handlebars/releases)
- [Changelog](https://github.com/express-handlebars/express-handlebars/blob/master/CHANGELOG.md)
- [Commits](express-handlebars/express-handlebars@v4.0.5...v5.1.0)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump @typescript-eslint/parser from 3.4.0 to 3.7.0 (#416)

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 3.4.0 to 3.7.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v3.7.0/packages/parser)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump @types/node from 14.0.14 to 14.0.26 (#421)

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.14 to 14.0.26.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump @types/lodash from 4.14.157 to 4.14.158 (#422)

Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.157 to 4.14.158.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump eslint from 7.4.0 to 7.5.0 (#419)

Bumps [eslint](https://github.com/eslint/eslint) from 7.4.0 to 7.5.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](eslint/eslint@v7.4.0...v7.5.0)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump typescript from 3.9.6 to 3.9.7 (#417)

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.6 to 3.9.7.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v3.9.6...v3.9.7)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump @types/glob from 7.1.2 to 7.1.3 (#423)

Bumps [@types/glob](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/glob) from 7.1.2 to 7.1.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/glob)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat(askvm): add a 'bitwiseAnd' resource (& binary operator) (#389)

* Add a 'bitwiseAnd' resource (& binary operator) #374"

* prettified code

prettified "bitwiseAnd.ts and index.ts"

* prettier index.ts

* Added tests and changed type in bitwise to number

* Update bitwiseAnd.test.ts

* added askscript tests.

* added end case test to operator

* feat(askvm): add `hasKey` resource (#413)

* feat: add hasKey resource for list

* test: add tests for hasKey resource

* feat(askvm): add type checking

* test(askscript): tests on both array and object

* fix(askscript): make if/while/... without curly braces to throw Syntax Error (#406)

* fix(askscript): make if/while/... without curly braces to throw Syntax Error

* refactor(askscript): minor refactor in .pegjs

Co-authored-by: Lukasz Czerwinski <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Richard Moran <[email protected]>
Co-authored-by: Shubham Sahu <[email protected]>
Co-authored-by: Gaurav Subedi <[email protected]>
Co-authored-by: develper <[email protected]>
Co-authored-by: akeni <[email protected]>
Co-authored-by: cpelican <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants