معرفی شرکت ها


anpl-0.0.7


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Anchor Programming Language
ویژگی مقدار
سیستم عامل -
نام فایل anpl-0.0.7
نام anpl
نسخه کتابخانه 0.0.7
نگهدارنده []
ایمیل نگهدارنده []
نویسنده luojiahai
ایمیل نویسنده luo@jiahai.co
آدرس صفحه اصلی https://github.com/luojiahai/anchor
آدرس اینترنتی https://pypi.org/project/anpl/
مجوز -
# Anchor Programming Language [![anchor](https://img.shields.io/badge/Anchor-f03752?style=flat-square)](.) [![build](https://img.shields.io/github/workflow/status/luojiahai/anchor/Upload%20Python%20Package?style=flat-square&logo=githubactions&logoColor=white)](https://github.com/luojiahai/anchor/actions/workflows/python-publish.yml) [![python](https://img.shields.io/pypi/pyversions/anpl?style=flat-square&logo=python&logoColor=white)](https://www.python.org/) [![pypi](https://img.shields.io/pypi/v/anpl?style=flat-square&logo=pypi&logoColor=white)](https://pypi.org/project/anpl/) [![license](https://img.shields.io/pypi/l/anpl?style=flat-square&logo=github&logoColor=white)](./LICENSE) ## Building and Installing > Anchor requires Python 3.9 or later ### PyPI [Recommended] Install the latest release from [The Python Package Index (PyPI)](https://pypi.org/project/anpl/): ``` pip install anpl ``` ### Build and install locally Run the following commands in order: ``` python3 -m pip install --upgrade pip python3 -m pip install --upgrade build python3 -m build pip install ./dist/anpl-<version>.tar.gz --force-reinstall ``` --- ## Running Run the Anchor compiler: ``` an [option] [file] ``` > `an --help` for more information --- ## Getting Started This is an example of the Anchor code to print `Hello, World!`: ``` print("Hello, World!"); ``` This is an example of the Anchor code to define a class: ``` class[public] MyClass begin property[public, get, set] x: Integer; method[public, factory] MyClass() -> MyClass begin this.x = 0; this.printSomething(); return this; end method[public, factory] MyClass(x: Integer) -> MyClass begin this.x = x; return this; end method[private] printSomething() -> Null begin print("this is a private method"); end end ``` This is an example of the legacy function definition to return a string: ``` function myFunc() -> String begin return "a legacy function"; end ``` --- ## Contributing I am excited to work alongside you to build and enhance Anchor Programming Language\! ***BEFORE you start work on a feature/fix***, please read and follow the [Contributor's Guide](./CONTRIBUTING.md) to help avoid any wasted or duplicate effort. --- ## Code of Conduct This project has adopted the [Contributor Covenant Code of Conduct](./CODE_OF_CONDUCT.md). For more information contact [luo@jiahai.co](mailto:luo@jiahai.co) with any additional questions or comments.


زبان مورد نیاز

مقدار نام
>=3.9 Python


نحوه نصب


نصب پکیج whl anpl-0.0.7:

    pip install anpl-0.0.7.whl


نصب پکیج tar.gz anpl-0.0.7:

    pip install anpl-0.0.7.tar.gz