Welcome to HCODX Online Compiler
Quick Start:
Ctrl+Enter Run code
Ctrl+S Save / Download
Ctrl+L Clear output
Select a language and start coding.
Welcome to HCODX Online Compiler
Quick Start:
Ctrl+Enter Run code
Ctrl+S Save / Download
Ctrl+L Clear output
Select a language and start coding.
Compile and run Samarium code online instantly with HCODX. Our free cloud-based Samarium compiler supports real-time execution, standard input, syntax highlighting, and code download. No installation or configuration required. Start coding in Samarium now.
Run Samarium instantly without installing any IDEs or configuring environments. Our cloud-based Samarium handles libraries, runtimes, and dependencies automatically so you can focus on writing code.
Whether you are studying algorithms in Samarium, practicing data structures in Samarium, or exploring functional programming, our tool provides real-time stdout/stderr feedback with interactive standard input support.
HCODX is a free online compiler and code runner: write code in your browser, execute it on a cloud sandbox, and interact with your program through a live terminal. Students use it for coursework and interview practice; developers use it to test snippets in 85+ languages without setting up a local environment.
Samarium takes a rule most languages consider sacred, readable literals, and discards it: created around 2021 by developer trag1c with a small open-source team, this Python-implemented language writes every number in binary using slashes and backslashes, so three is // and zero is an empty backslash form. The rest of the syntax is equally alien by design, with => * declaring the entry point, a trailing exclamation mark printing a value, and tildes, ampersands, and brackets carrying meanings you must learn from scratch. It sits firmly in the esolang tradition of usable-but-strange, complete with real documentation, a standard library, and active maintenance. HCODX runs Samarium in a live terminal, so its input operator works interactively without any pip installing.
== Samarium comments start with two equals signs; ! prints a value
=> * {
"Hello, World!"!;
}
Samarium is an ideal weekend expedition for esolang fans: it is strange enough that even FizzBuzz requires real thought, especially once numbers must be spelled in slash-backslash binary, yet documented well enough that progress never stalls. It suits rotating-language challenges and polyglot events where rarity is rewarded, and it makes a sharp teaching prompt about notation, showing students how much of programming difficulty is convention rather than computation. HCODX is a free online Samarium editor, runner and interpreter — an IDE-grade compiler and playground to write and run code online, execute code with live output and live preview, no downloads or web server required.
All integer literals are written in base two, with a slash for a one bit and a backslash for a zero bit. So a lone slash is one, slash-backslash is two, and two slashes make three. There is no decimal literal syntax at all, which turns even small constants into little binary puzzles and is one of the language's defining jokes.
Yes. The project lives on GitHub under its creator trag1c with published releases on PyPI, a documentation site covering syntax, built-ins, and the standard library, and a changelog showing steady iteration. For an esoteric language that is unusually good support, and it means answers to most questions exist somewhere official rather than only in community folklore.
It does: the language defines a dedicated input operator that reads from standard input, along with the trailing exclamation mark for output, so prompt-and-respond programs are straightforward once you internalize the symbols. Running in the HCODX terminal, a Samarium read genuinely blocks until you type, making it practical to test interactive snippets while learning.
Your current code will be replaced with the default sample. This cannot be undone — download your code first if you want to keep it.
You have unsaved changes. Do you want to save your code before continuing?