Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ description: Customize Programming Languages

# Welcome to LangTrans

LangTrans is used to customize any programming language. You can make your own syntax for any programming languages.
LangTrans is used to customize any programming language. You can make your own syntax for any programming languages. Knowledge about regular expression is all you need to customize, making your coding faster, cleaner and readable.

## How it works?

LangTrans convert your syntax into original syntax. 

Regular Expression is used to extract tokens from your language. You should write template of syntax of original language. 
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




4 changes: 2 additions & 2 deletions implementation.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 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


## Token Extraction

Expand Down Expand Up @@ -108,7 +108,7 @@ To add content in each line.
{% tab title="replace " %}
Regular expression to match and replace or delete any unwanted content in token.

To replace add a list with first item as regular expression to unwanted content and second item is the content you wanted to replace with.
To replace unwanted content, add a list with the first item as a regular expression and the second item as the content you want to replace with.

To delete add a list with regular expression only
{% endtab %}
Expand Down