Giter VIP home page Giter VIP logo

gigascript's Introduction

CodeQL

A programming language written in TypeScript, with two forms of syntax, one based on JavaScript/TypeScript and one based on slang and memes.

GigaScript

There are two forms of this language, *.g and *.gsx. *.g files use traditional syntax similar to JavaScript/TypeScript. *.gsx files use the Gen Z slang syntax. GigaChads use *.gsx :).

.g (GigaScript)

The boring version of GigaScript...

GigaScript Documentation

.gsx (GigaScript-X)

The cool version of GigaScript!

GigaScript-X Documentation

Run GigaScript and GigaScript-X

You can learn how to run GigaScript and GigaScript-X on your machine here.

Add GigaScript to your PATH

Bash / Unix-based Systems (Linux, MacOS)

  1. Locate the absolute directory for the gigascript file, located in the /.bin directory. It should look something like Z:\GigaScript\.bin\gigascript.
  2. Run the command chmod +x PATH_TO_GIGASCRIPT_BIN, replacing PATH_TO_GIGASCRIPT_BIN with the path you got from the previous step.
  3. Next run the command export PATH="PATH_TO_GIGASCRIPT_DIR:$PATH", replacing PATH_TO_GIGASCRIPT_DIR with the path you got from step 1, but without the gigascript file. The path should look something like Z:\GigaScript\.bin.

Remember to restart your terminal to apply the changes to your PATH

Windows

  1. Locate the absolute directory for the .bin directory, and copy it your clipboard. It should look something like Z:\GigaScript\.bin.
  2. Press the Windows key on your keyboard.
  3. Type in path and click on Edit the system environment variables.
  4. In the dialog box that opens, click the Environment Variables... button near the bottom.
  5. If you want GigaScript to be available for all users on your system, click on Path under the System variables section. If you want GigaScript only for yourself, click on Path under the User variables for <user> section.
  6. Click on Edit... at the bottom of the section.
  7. On the right side of the next dialog box, click on New.
  8. Paste in the directory.
  9. Click OK on all the dialog boxes.

Remember to restart your terminal to apply the changes to your PATH

Credits

Special thanks to face-hh for inspiring me to make this and tlaceby for making an amazing tutorial series!

gigascript's People

Contributors

aname2050 avatar

Stargazers

 avatar

Watchers

 avatar

gigascript's Issues

GSX import issue

Cannot redeclare variable "x". error when importing in GSX

main.gsx

yoink x from "testImport.gsx"
yoink y from "testImport.gsx"

waffle("variables yoinked from testImport.gsx!")

waffle(x, y)

testImport.gsx

bro x be 32 rn
bro y be 64 rn

yeet x rn
yeet y rn

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.