Giter Club home page Giter Club logo

just-thinking's Introduction

想法集合

1)记录计算机科学与技术学习道路上,奇奇怪怪的想法,不保证其可行性...

2)占坑,填坑也。

3)如果你也有相同的想法,或者有感兴趣的内容,可以跟我交流交流哦~

基于UAY的编程语言的实现

  • 通过学习编译原理和相关技术,实现基于UAY(维吾尔文)的编程语言
  • 该语言编译器支持对用UAY(维吾尔文)编写的,符合该语言语法规则和语义规则的代码程序进行编译,并产生目标机器上可运行的目标代码。
  • 对语言的其他特性,以后做详细介绍。
  • 可参考文言文编程语言,易语言等其他编程语言的实现。

1)下面是该语言简单程序代码演示:

ugl-code

  • 注:图片中相关编程规则为假设,实际语言不一定与上图相同。

  • 其中,可用c语言解释该上图中所用到的保留字,其对应关系如下:

    • main باشفونكىس
    • int پۈتسان
    • for چاقپەلەك
    • printf سىستىمياز
  • 上述代码在python中的代码演示:

a = 10
Sum = 0
for b in range(a):
    Sum = Sum + b
print(Sum)

2)局限性概述:

  • UAY书写顺序是从右往左,数学表达等相对与从左往右书写的文字较难,以至于现有编辑器,代码编辑器等都无法满足其正常书写。
  • 每个事物的存在都应该有其他事物无法替代或无法胜任的特性。因此,该语言也同样需要新的**,新的出发点,去研究和实现。
  • 意义大于其作用,没必要但不是不值得去做。

3)同类程序语言展示:

  • 阿拉伯文编程语言قەلب书写的HelloWorld程序:

arabic-kelib

just-thinking's People

Contributors

yishilnota avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.