From 303b15621a3fa22d57f67cd1646b668fc363b860 Mon Sep 17 00:00:00 2001 From: Benjamin Date: Sat, 12 Feb 2022 20:48:11 -0600 Subject: [PATCH 1/3] I swear I'm burnt out to high hell --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 087ae63..69022a8 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ Welcome to the official documentation of x2! This documentation will get you started in the development of your first x2 project or will help you learn more about x2 in general with in-depth explanations and tutorials. +**! PLEASE NOTE: x2 development is currently on hold, check out [DmmD's OOP version](https://github.com/x2-dmmd/object) in the meantime. !** + ## Table of Contents - **Home ▾** @@ -124,4 +126,4 @@ You can publish your games and packages at [our website](https://x2.iipython.cf/ Last Updated: February 6th, 2022 by Dm123321_31mD -[↑ Go To Top](#x2) \ No newline at end of file +[↑ Go To Top](#x2) From 943dff14b2ea3a060dcf508c738bf8e7e058d50e Mon Sep 17 00:00:00 2001 From: Benjamin Date: Thu, 17 Mar 2022 19:31:10 -0500 Subject: [PATCH 2/3] Goodbye, x2 --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 69022a8..c2dbacb 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,12 @@ +As of 03/17/22, x2 is discontinued in favor of [Calcium](https://github.com/dm12332131md/calcium). +This repository will stay active for future reference. + # x2 ## Welcome Welcome to the official documentation of x2! This documentation will get you started in the development of your first x2 project or will help you learn more about x2 in general with in-depth explanations and tutorials. -**! PLEASE NOTE: x2 development is currently on hold, check out [DmmD's OOP version](https://github.com/x2-dmmd/object) in the meantime. !** - ## Table of Contents - **Home ▾** From 2ff547c3add11826cf0dd20531e2b94e5fe6714c Mon Sep 17 00:00:00 2001 From: iiPython Date: Fri, 22 Apr 2022 18:18:37 -0500 Subject: [PATCH 3/3] Update README for 2.3r1 --- README.md | 45 ++++++++++++++++++++++----------------------- 1 file changed, 22 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index c2dbacb..8204341 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,16 @@ -As of 03/17/22, x2 is discontinued in favor of [Calcium](https://github.com/dm12332131md/calcium). -This repository will stay active for future reference. - # x2 -## Welcome +## Introduction + +Welcome to the official documentation for x2! This documentation will get you started in the development of your first x2 project or will help you learn more about x2 in general with in-depth explanations and tutorials. -Welcome to the official documentation of x2! This documentation will get you started in the development of your first x2 project or will help you learn more about x2 in general with in-depth explanations and tutorials. +If you're looking for a faster alternative to x2, check out [Calcium](https://github.com/Dm12332131mD/calcium). It's based around the same principles as x2, but written in C++ and fully OOP-compliant. ## Table of Contents - **Home ▾** - - [Welcome](#welcome) - - [Table of Contents](#table-of-contents) + - [Introduction](#introduction) + - [ToC](#table-of-contents) - [About](#about) - [Getting Started ▾](#getting-started) - [Step 1: Installation](#step-1-installation) @@ -26,19 +25,20 @@ Welcome to the official documentation of x2! This documentation will get you sta - [Python API](./md/pythonAPI.md) - [Standard Library](./md/standardLibrary.md) +***Please note: current x2 documentation is likely invalid due to the release of x2.3r1!** + ## About -x2 (Pronounced "ex-two") is a high-level, interpreted language written in Python by [iiPython](https://github.com/ii-Python/) with low-level programming language syntax, such as [x86 Assembly](https://en.wikipedia.org/wiki/X86_assembly_language) or [Batch](https://en.wikipedia.org/wiki/Batch_file). +x2 (Pronounced "ex-two") is a high-level, interpreted language written in Python by [iiPython](https://github.com/ii-Python/) with low-level programming language syntax, similar to that of [x86 Assembly](https://en.wikipedia.org/wiki/X86_assembly_language) or [Batch](https://en.wikipedia.org/wiki/Batch_file). x2 contains features such as: - Automatic Garbage Collection -- Scoped/Global Variables -- Public/Private Sections -- Functions and Methods +- Scoped/global Variables +- Sectioning/function system - Python Integration -- Working Import/Export System -- Package System -- ...And more! +- Import/Export System +- Package Management System ([xpm](https://github.com/ii-Python/xpm); coming soon!) +- ... many more! ## Getting Started @@ -62,21 +62,20 @@ If you are choosing Visual Studio Code as your Integrated Development Environmen ### Step 2: Set-Up -Once you open up your x2 project, you should be able to find a file named `main.xt`. By default, this is your main entry file and is where you will be writing your x2 code. Within the file, you should see: +Once you open up your x2 project, you should be able to find a file named `main.x2`. By default, this is your main entry file and is where you will be writing your x2 code. Within the file, you should see an example program similar to: ```xt :: Main -:main - out "Hello, world!" +prt "Hello, world!" ``` -Any x2 files should always end in the `.xt` extension. The main entry file should also always contain a `:main` section. +Any x2 files should always end in the `.x2` extension. -You can edit the main entry file by editing the configuration in `.xtconfig`. It is a JSON-like file that contains all the configurations for your x2 project. Within it, you should see: +You can edit the main entry file by editing the configuration in `.x2config`. It is a JSON-like file that contains all the configurations for your x2 project. Within it, you should see: ```xtconfig { - "main": "main.xt" + "main": "main.x2" } ``` @@ -115,7 +114,7 @@ You can publish your games and packages at [our website](https://x2.iipython.cf/ ### Contributors - [iiPython](https://github.com/ii-Python/) - Lead Developer -- [Dm123321_31mD](https://github.com/Dm12332131mD) - Contributor +- [Dm123321_31mD](https://github.com/Dm12332131mD) - Developer + moral support ### Resouces @@ -125,6 +124,6 @@ You can publish your games and packages at [our website](https://x2.iipython.cf/ --- -Last Updated: February 6th, 2022 by Dm123321_31mD +Last Updated: April 22nd, 2022 by iiPython -[↑ Go To Top](#x2) +[↑ Go To Top](#x2) \ No newline at end of file