← Tutorials / docs

How to use this Website

Playground

Here you can actually try the out intlang :)

  • When you click Compile your code from the editor will be sent over to the server and compiled.

    • If there are errors they will show up in the Terminalbelow ([exit 0] is not an error).
    • If compilation was successful the MIR and LLVM IR Tabs will show the generated Mid-level Intermediate Representation (MIR) (see here to learn more) and LLVM Intermediate Representation (LLVM IR).
  • Run does all the things Compile does but after successful compilation it will also run the generated binary and let you interact with it in the terminal.

    • After the text running... showed up in the terminal what ever you type (if the terminal is focused) can be read by your program and the programs output will also show up.
    • The connection for one run is has a max time of 32 seconds, so if you see [exit 124 (timed out)] that might just mean you have to type faster.
    • Intlang reads character by character so you can NOT use Backspace to delete mistyped characters.
  • The drop down menu beside the Run button lets you select the optimization level (-O0 is no optimization and -O3 is the most optimization)

Tutorial/Doc

Well you are here, so I guess you have figured out how this works ;)

Lib

Intlang has a "standard" library that includes some things that make it much more useful, like practical IO. Under the Lib tab you can inspect the exact version of the files used for compilation on the backend. So if you want to have a look if something exists or why something does not work as expected, have a look there.

About

Well, the About page is about what you would expect from an about page.