Skip to content

Conversation

@rpj09
Copy link

@rpj09 rpj09 commented Jul 7, 2022

I am new to open source, so I started with documentation improvements, hoping it would be helpful

The Regular Expression is used to extract tokens from your language. You need to create a template of the original language's syntax. 

LangTrans take both as input and convert code written in new syntax to original syntax.
Code written in new syntax is converted to original syntax using LangTrans or vice-versa .
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove vice-versa

# Implementation

To customize you should extract tokens with regular expression. Then you should create the template of original language with token you extracted.
To customize your syntax, you should extract tokens using regular expressions. You should then create the template of the original language using the tokens you extracted.
Copy link
Contributor

Choose a reason for hiding this comment

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

Change original language to target language

@B-R-P
Copy link
Contributor

B-R-P commented Aug 1, 2022

Good start 👍

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