Skip to content

Magayaga/Hyzero

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magayaga Official Magayaga License

Official Logo

Hyzero (also known as Hydrogen Zero or H0) is a high-level, interpreted, general-purpose programming language created, designed, and developed by Cyril John Magayaga. It is the Philippines’ first creating programming language in the twenty-first country, after one of the Philippines’ first easiest programming languages. This is like Python programming language.

Hyzero loves BASIC (Beginners' All-purpose Symbolic Instruction Code) family of the programming language.

Documentation

Read the Get Started and Download.

Examples

The following shows how the simple Hello, World! program was written in Hyzero.

  • Hyzero programming language in original version (v0.0.1 - v0.0.3):

    print("Hello, World!")
  • Hyzero programming language in current version (v0.1.0 - present):

    write("Hello, World!")
  • Hyzero programming language as Output:

    Hello, World!
    

How can I add a VAR variable to write()?

  • The write() function prints the given object to the standard output device (screen) or to the text stream file.

    VAR hi = "Hello, World!"
    write(hi) 

How can I trigonometric functions?

  • Trigonometry functions such as sine (sin(x)), cosine (cos(x)), and tangent (tan(x)) can also be calculated using the Hyzero programming language.

    # sine
    write(sin(mathPi / 2))
    
    # cosine
    write(cos(mathTau * 10))
    
    # tangent
    write(tan((mathE * mathPi) / 4))

History

1. New programming language of the Asia (2022-present)

Hyzero was created on July 25, 2022, by Cyril John Magayaga. It is the Philippines' second programming language. Bato programming language is a Philippines' first programming language created by Joel Bryan Juliano.

The Hyzero documents, design, implementation, and related tools are hosted on GitHub private under the OpinionOne version 2.

On July 30, 2022, Cyril John Magayaga said Hyzero was a new programming language like calculator, command language, computer program, and upcoming application.

On August 5, 2022, Cyril John Magayaga announced that Hyzero become new high-level and general-purpose programming language, and the Philippines’ first easiest programming languages. The new filename extension on .hyzero is called the source code of a program.

On August 6, 2022, Cyril John Magayaga announced that Hyzero programming languages like Python. The Hyzero 0.1 was released on August 15, 2022, with many major new features.

On August 13, 2022, Cyril John Magayaga announced that Hyzero programming language, new features of Hyzero in the Philippines.

On August 24, 2022, Cyril John Magayaga announced that Hyzero programming language, written in Python programming language (High-level, Interpreted, & General-purpose) and C programming language (Binary).

Not to be confused with Hy programming language and don't known as Zero programming language.

Hyzero programming language become Strong and Dynamic programming language. .hyzero was real file extension of Hyzero.

On August 30, 2022, Cyril John Magayaga announced that Hyzero programming language become public open-source projects.

On March 19, 2023, Cyril John Magayaga says pythOwO programming language, It should be fixed and it is english language.

Build of the Hyzero

There are a few languages that have followed this model for other ecosystems, and Hyzero aims to fill an analogous role for Python:

  • C → C++
  • JavaScript → TypeScript
  • Java → Kotlin
  • C++ → Carbon
  • Python → Hyzero

Getting started

Download the Python programming language and Git distributed version control system.

To build the Hyzero explorer yourself, follow these instructions:

Windows

# Download the Hyzero's code
$ git clone https://github.com/Magayaga/Hyzero.git
$ cd Hyzero

# Download the Python
$ choco install python

# Run the explorer
$ python src/hyzero.py explorer/testdata/math/math.hyzero
$ python src/hyzero.py explorer/testdata/print/pyramid.hyzero

# Run the shell
$ python src/shell.py
Hyzero v0.1.6-beta2 (September 9, 2023) - created & developed by Cyril John Magayaga
Hyzero > write("Hello, World!")

macOS

# Download the Hyzero's code on macOS
$ git clone https://github.com/Magayaga/Hyzero.git
$ cd Hyzero

# Download the Python on macOS
$ brew install python3

# Run the explorer
$ python3 src/hyzero.py explorer/testdata/math/math.hyzero
$ python3 src/hyzero.py explorer/testdata/print/pyramid.hyzero

# Run the shell
$ python3 src/shell.py
Hyzero v0.1.6-beta2 (September 9, 2023) - created & developed by Cyril John Magayaga
Hyzero > write("Hello, World!")

Linux and Windows subsystem for Linux

# Download the Hyzero's code on Linux
$ git clone https://github.com/Magayaga/Hyzero.git
$ cd Hyzero

# Download the Python on Linux
$ sudo apt-get install python3 # Ubuntu or Debian
$ sudo dnf install python3 # Fedora or Red Hat

# Run the explorer
$ python3 src/hyzero.py explorer/testdata/math/math.hyzero
$ python3 src/hyzero.py explorer/testdata/print/pyramid.hyzero

# Run the shell
$ python3 src/shell.py
Hyzero v0.1.6-beta2 (September 9, 2023) - created & developed by Cyril John Magayaga
Hyzero > write("Hello, World!")

Copyright & License

Copyright:

License:

The Hyzero documents, design, implementation, and related tools are hosted on GitHub public under the OpinionOne (Latest Version 2).

Releases

No releases published

Packages

No packages published

Languages