Skip to content

Binary-c is an esoteric programming language initially written in vb and later rewritten in Julia. Binary-c compiles down into vb

License

Notifications You must be signed in to change notification settings

technetium-inc/BinaryC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BinaryC

Yet another esolang. This one has nothing to do with C (and everything to do with VB) but the name is better than BinaryVB.

Prerequisites

A Visual Basic .NET compiler (vbc)

Syntax

In BinaryC, Common keywords in VB are written in binary. Here is the conversion table:

BinaryC VB
0000 Module
0001 End
0010 Sub
0011 Main
0100 Console.WriteLine
0101 Console.ReadLine
0110 Dim
0111 Function
1000 Return
1001 As
1010 String
1011 args
1100 Using
1101 System
1110 For
1111 While

Examples:

Hello World:

0000 0011
0010 0011()
0100("Hello World")
0001 0010
0001 0000

Compiles to (without the indentation):

Module Main
  Sub Main()
    Console.WriteLine("Hello World")
  End Sub
End Module

Downloads

Windows

About

Binary-c is an esoteric programming language initially written in vb and later rewritten in Julia. Binary-c compiles down into vb

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published