Skip to content

Latest commit

 

History

History
61 lines (49 loc) · 1.42 KB

File metadata and controls

61 lines (49 loc) · 1.42 KB

Architecture of P[Ψ]:-

The letter psi is commonly used in physics to represent wave functions in quantum mechanics, such as in the Schrödinger equation and bra–ket notation: {<Φ/Ψ>}. It is also used to represent the (generalized) positional states of a qubit in a quantum computer. Similarly, I am using Ψ to notify or present the P®: A New Generation Programming Language for 128-bit Architecture, and it's a people friendly programming public language.

  • Ψ.actional(){}[];
    • Ψ.additional(){};
    • Ψ.conditional(){};
    • Ψ.traditional(){};
    • Ψ.functional(){};

How to write or Syntax, please go through it.

 - Ψ.fn("name","about the name.",( ){ });

 - Ψ.fn("name","about the name.",($a,$b,$c,$d){ });

Ψ.actional(){

Ψ.additional(){};

Ψ.additional(){
   Ψ.fn($a,$b,$c,$d){};
   return;
};

Ψ.conditional(){};

Ψ.conditional(){
   Ψ.fn($a,$b,$c,$d){};
   return;
};

Ψ.traditional(){};

Ψ.traditional(){
   Ψ.fn($a,$b,$c,$d){};
   return;
};

Ψ.functional(){};

Ψ.functional(){
   Ψ.fn($a,$b,$c,$d){};
   return;
};

}[];

Note:- Ψ.actional, is an Immediately Invoked Function Expressions (IIFE), with [] suffix after last curly brace and in between termination colon - like }[];.

We can go for also, let say - short notations:-

 - Ψ.an(){};
 - Ψ.cn(){};
 - Ψ.tn(){};
 - Ψ.fn(){};