Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add basic operators to the syntax widget#165

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ryyppy merged 2 commits intorescript-lang:syntax-lookup-toolfromkevanstannard:syntax-widget-basic-operators
Jan 4, 2021
Merged

Add basic operators to the syntax widget#165

ryyppy merged 2 commits intorescript-lang:syntax-lookup-toolfromkevanstannard:syntax-widget-basic-operators
Jan 4, 2021

Conversation

@kevanstannard
Copy link
Contributor

@kevanstannardkevanstannard commentedJan 4, 2021
edited
Loading

Suggestion for#162

Add some of the basic operators.

Happy to hear any corrections or suggestions for improvements.

component:controlflow_ifelse,
},
{
id:"integer-addition",
Copy link
Member

Choose a reason for hiding this comment

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

this data is good for drafting and testing, but since we will include a ton of syntax constructs, I am pretty sure that this will not scale on a bundle level, so we need to factor everything out into some server side rendered solution of some sort.

So what I think would be best is to put the metadata in the frontmatter of each syntax construct file, e.g.operators_integer_addition.mdx:

---id: "integer-addition"keywords: ["plus", "add", "addition", "sum", "int", "integer"]name: "+"summary: "This is the `integer addition` operator."category: "operators"---

You can of course still hook your components up with the SyntaxLookupWidget to test your keywords, but we will remove that code pretty soon later on, just so you know.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Thanks@ryyppy that makes sense, updated.

@ryyppy
Copy link
Member

Looking good. Will merge this for now and update the overview issue

@ryyppyryyppy merged commitbd2a478 intorescript-lang:syntax-lookup-toolJan 4, 2021
@kevanstannardkevanstannard deleted the syntax-widget-basic-operators branchJanuary 5, 2021 06:41
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@ryyppyryyppyAwaiting requested review from ryyppy

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@kevanstannard@ryyppy

[8]ページ先頭

©2009-2025 Movatter.jp