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

refactor(parser): create lexer to hold lexing logic #2

Merged
merged 3 commits into from
Nov 10, 2022

Conversation

koladilip
Copy link
Collaborator

Description of the change

Create separate class for lexing
Refactor language spec for variables and functions.

Checklists

Development

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • The code changed/added as part of this pull request has been covered with tests
  • All tests related to the changed code pass in development

Code review

  • This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
  • Changes have been reviewed by at least one other engineer
  • Issue from task tracker has a link to this pull request

@koladilip koladilip requested a review from saikumarrs as a code owner November 9, 2022 02:51
@github-actions
Copy link
Contributor

github-actions bot commented Nov 9, 2022

Coverage report

St.
Category Percentage Covered / Total
🔴 Statements 0% 0/2332
🔴 Branches 0% 0/9
🔴 Functions 0% 0/9
🔴 Lines 0% 0/2332
Show new covered files 🐣
St.
File Statements Branches Functions Lines
🔴 constants.ts 0% 0% 0% 0%
🔴 errors.ts 0% 0% 0% 0%
🔴 lexer.ts 0% 0% 0% 0%

Test suite run success

1 tests passing in 1 suite.

Report generated by 🧪jest coverage report action from 5e605c9

@koladilip koladilip force-pushed the refactor.parser branch 2 times, most recently from 5191321 to b82feb4 Compare November 9, 2022 03:00
Create separate class for lexing
Refactor language spec for variables and functions.
Add support for comments.
src/contants.ts Outdated Show resolved Hide resolved
Add support for spread operators.
Add support for calling prototype functions.
@koladilip koladilip merged commit 01b0c1a into main Nov 10, 2022
@koladilip koladilip deleted the refactor.parser branch November 10, 2022 12:11
@github-actions github-actions bot mentioned this pull request Nov 10, 2022
@github-actions github-actions bot mentioned this pull request Sep 13, 2023
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