All Projects → hexalang → hexa

hexalang / hexa

Licence: LGPL-3.0 license
Compiler, standard library & backends

Programming Languages

C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language
Batchfile
5799 projects

Projects that are alternatives of or similar to hexa

Craxe
Haxe to nim transpiler
Stars: ✭ 39 (-47.3%)
Mutual labels:  transpiler
phpify
Compiles PHP modules for the browser with Uniter.
Stars: ✭ 18 (-75.68%)
Mutual labels:  transpiler
Cardinal
Operating system designed to be fast and secure.
Stars: ✭ 20 (-72.97%)
Mutual labels:  osdev
G-DOS
A portable, ROM-booting hobby OS. Currently supports m68k, arm, and PowerPC targets
Stars: ✭ 36 (-51.35%)
Mutual labels:  osdev
os
A simple kernel written in Rust for studying purposes.
Stars: ✭ 47 (-36.49%)
Mutual labels:  osdev
uefi-elf-bootloader
UEFI ELF Bootloader example
Stars: ✭ 40 (-45.95%)
Mutual labels:  osdev
hexa
Hexa Wallet. A simple bitcoin wallet made to be used with Friends and Family. Lightning. Gifts and more.
Stars: ✭ 85 (+14.86%)
Mutual labels:  hexa
lua-in-js
A Lua to JS transpiler / runtime
Stars: ✭ 37 (-50%)
Mutual labels:  transpiler
osfree
osFree - open source Operating System/2 clone, usermode parts.
Stars: ✭ 77 (+4.05%)
Mutual labels:  osdev
sourcerer.vim
vim colorscheme
Stars: ✭ 42 (-43.24%)
Mutual labels:  magic
sidef
A modern object-oriented programming language implemented in Perl.
Stars: ✭ 109 (+47.3%)
Mutual labels:  transpiler
purenix
Nix backend for PureScript. Transpile PureScript code to Nix.
Stars: ✭ 227 (+206.76%)
Mutual labels:  transpiler
claw-compiler
CLAW Compiler for Performance Portability
Stars: ✭ 38 (-48.65%)
Mutual labels:  transpiler
platypus-os
OS for pentesting, programming, and playing video games. Contributions welcome!
Stars: ✭ 23 (-68.92%)
Mutual labels:  osdev
buildroot
Configure and build dahliaOS Linux-based builds
Stars: ✭ 56 (-24.32%)
Mutual labels:  osdev
tupai
Tupai is a multi-tasking operating system I wrote for my degree that focuses on safety and design, targeting a variety of platforms.
Stars: ✭ 21 (-71.62%)
Mutual labels:  osdev
AutoWIG
Automatic Wrapper and Interface Generator
Stars: ✭ 107 (+44.59%)
Mutual labels:  transpiler
schwalbe
"Transpiler" from the Schwalbe Programming Language to Swift
Stars: ✭ 28 (-62.16%)
Mutual labels:  transpiler
chaos-2
A hand-made SMP-aware kernel
Stars: ✭ 20 (-72.97%)
Mutual labels:  osdev
ImHex-Patterns
Hex patterns, include patterns and magic files for the use with the ImHex Hex Editor
Stars: ✭ 192 (+159.46%)
Mutual labels:  magic

Hexa

Her name is [geksa]

Telegram chatroom Telegram feed GitHub Feed Blog Book Website

Hexa is a high level, strictly typed programming language that compiles to JavaScript and native apps

Try Hexa online without installation

AUR GIT Donate Patreon Discord

Key features of Hexa

  • JavaScript-inspired syntax and behavior, feel yourself like at home!
  • Native performance with static types and optimizing compiler
  • Follows node.js (and browser) API
  • Fast compilation
  • Compiles to JavaScript, WebAssembly, osdev, LLVM, C, C++, ObjC, ... you name it! (WIP)
  • Transpilation to almost anything: Lua, AutoCAD Lisp, C#, PHP, etc (WIP)
  • Transpilation produce human-readable code for all targets
  • Null safety, crash resistance, pattern matching, classes (WIP)
  • Real multithreading, parallelism, async\await, no GC (WIP)
  • Smart type inference makes other typed languages look boring
  • Friendly and helpful error messages
  • Supports #!shebang and scripting (just call hexa script.hexa)
  • REPL (enable with just hexa command)
  • Metaprogramming with syntax-tree, generics and contracts (WIP)
  • Completely cross-platform

WIP — Work in progress, coming soon

Download

  • kawaii is the development branch and accepts pull requests
  • artifacts are built from each kawaii commit and pull requests

Stable

Unstable

Tools & IDE

Study

Build

You need to download latest long-term Node.js LTS. The Hexa Compiler is written in Hexa itself. Pre-built compiler (bootstrapper) already included in the repo.

git clone --recursive --depth 100 https://github.com/hexalang/hexa.git
cd hexa
node bootstrap.js hexa.json
# This results in a `hexa-node.js` file in the root of the repo
# Call `node hexa-node.js project.json` to build your projects

Optionally to build .exe and add icon:

npm i -g nexe
nexe-build.bat

Learn more about compiler development

License

See LICENSE files for full license texts and headers of each file (files in same directory may use different licensing models). If license is not mentioned in header then LICENSE file in upper directory level to be considered.

Compiler and some tools are under Lesser GPL 3.0 (feel free to include as a library in closed source projects), standard libraries and examples are under MIT.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].