Close

Kick off

A project log for Dirac Programming Language

Aim: To build a compiler for my quantum language. In fact it is just a simple randomized stack based language that uses bra-ket notation.

luis-felipe-gomes-da-silvLuis Felipe Gomes da Silv 09/24/2022 at 05:240 Comments

Well, I have many notes about the Dirac language, and I have to study a bit more. But, for the following month I expect to present a compiler's prototype. Something very humble to start. In pseudo language I'd like to do this

1. Define a program

2. Define the variables bra-ket

3. At least one operator

!This is a comment
program teste 
ket a,b,c
number x,y
c := ax+by
print c 
end program

Discussions