Skip to content
Merged
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
51 changes: 51 additions & 0 deletions README_FA.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<div dir="rtl">
<div align="center">

<p>
Expand Down Expand Up @@ -85,6 +86,8 @@

نحو و گرامر زبان `وان` نیز در [اینجا](grammar.BNF) در دسترس است.

</div>

- [x] Lexer/Parser (Mostly)
- [x] AST Tree
- [x] VM
Expand All @@ -93,21 +96,29 @@
- [ ] Design web framework for the language
- [ ] Rewrite compiler in the `One` language

<div dir="rtl">

<!--Include to a section about steps of installation-->

![-----------------------------------------------------](https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/rainbow.png)

<h2 id="code-examples">➤ نمونه کد ها</h2>
<!--Will have to explain how variable assignment, control flow, function declaration and call etc work in the language-->

</div>

```c
main {
ret 0
}
```

<div dir="rtl">

**تبدیل به زبان سی C:**

</div>

```c
#include <stdio.h>
#include <stdlib.h>
Expand All @@ -126,8 +137,12 @@ i32 main {
}
```

<div dir="rtl">

**تبدیل به زبان سی C:**

</div>

```c
#include <stdio.h>
#include <stdlib.h>
Expand All @@ -148,8 +163,12 @@ main {
}
```

<div dir="rtl">

**تبدیل به زبان سی C:**

</div>

```c
#include <stdio.h>
#include <stdlib.h>
Expand All @@ -165,8 +184,12 @@ int main(int argc, char *argv[]) {

<hr/>

<div dir="rtl">

**چک نویس دیگر:**

</div>

```c
import web
home {
Expand All @@ -192,8 +215,12 @@ main {

---

<div dir="rtl">

**نمونه دیگر:**

</div>

```c
error {
headers.add('HTTP-Type: 404')
Expand All @@ -218,8 +245,12 @@ error {

---

<div dir="rtl">

### رابط طراحی کنسولی قبلی

</div>

```
main:
// __ "Hello, World!"
Expand Down Expand Up @@ -254,8 +285,12 @@ end

<hr/>

<div dir="rtl">

### توسعه نرم افزار گرافیکی و سایت

</div>

This architecture is being designed only for websites and native software. In the future, it will also be available for mobile apps (native).<br/>
Mobile structures are not yet complete and require more thought and attention.<br/><br/>Example to demonstrate working of the language:

Expand Down Expand Up @@ -299,8 +334,12 @@ header {
}
```

<div dir="rtl">

**تبدیل خودکار به CSS/HTML/JS:**

</div>

```html
<html>
<head>
Expand Down Expand Up @@ -342,6 +381,8 @@ header {

<h2 id="getting-started">➤ Getting Started</h2>

<div dir="rtl">

می توانید برای یادگیری بیشتر نحو این زبان به [این صفحه](https://github.com/ET-Lang/ET/wiki) راهنما مراجعه کنید.

<!--Installation Steps-->
Expand All @@ -350,6 +391,8 @@ header {

#### پلتفرم و محیط های پشتیبانی شده

</div>

- [x] GNU / Linux <!--which Linux?-->
- [x] Windows
- [ ] macOS (Not complete)
Expand All @@ -364,9 +407,13 @@ header {

![-----------------------------------------------------](https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/rainbow.png)

<div dir="rtl">

<!--Get Involved-->
<h2 id="get-involved">➤ مشارکت کردن</h2>

</div>

We welcome all kinds of contributions, including bug reports, feature requests, documentation improvements etc.
To ask a question or open a discussion, create an issue or join the <a href ="https://discord.gg/sFCE2HcMCa"><b>One</b> Discord Server</a>.

Expand All @@ -382,8 +429,12 @@ If you would like to contribute in the development of this project, you can mail
<br/>Created By Max Base @ 2019
![-----------------------------------------------------](https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/rainbow.png)

<div dir="rtl">

<h2 id="license">➤ مجوز و لایسنس</h2>

</div>

`One` is released under the GNU General Public License v3.0. Please refer to the terms in the <a href="https://github.com/One-Language/One/blob/master/LICENSE">LICENSE</a> file included in the repository.

<!--[![Gitter](https://badges.gitter.im/ET_lang/community.svg)](https://gitter.im/ET_lang/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)-->
Expand Down