Update page 'P# 1.0 Draft Specification'

2018-07-17 09:55:58 +02:00
parent 06a8b0c5fb
commit 3f3cb4237c

@@ -141,6 +141,11 @@ Callbacks can be denoted in P# language by callback type hint. This pseudo-type
int $var = $callme(); int $var = $callme();
%> %>
<%
callback $echo = 'print';
$echo('Hello world'); // Calls the print function on the fly
%>
### 5.3. Character Values ### 5.3. Character Values
The char type holds a single character. The first 128 code points (0127) of Unicode correspond to the letters and symbols on a standard U.S. keyboard. These first 128 code points are the same as those the ASCII character set defines. The second 128 code points (128255) represent special characters, such as Latin-based alphabet letters, accents, currency symbols, and fractions. The char type holds a single character. The first 128 code points (0127) of Unicode correspond to the letters and symbols on a standard U.S. keyboard. These first 128 code points are the same as those the ASCII character set defines. The second 128 code points (128255) represent special characters, such as Latin-based alphabet letters, accents, currency symbols, and fractions.
@@ -248,9 +253,4 @@ TODO
## 8. Object-Oriented Programming ## 8. Object-Oriented Programming
TODO TODO
## Future P# Versions
This paragraph describes an ideas for future versions of P# language specification
* Pointers support
* Turn void data-type into a general purpose pointer variable
* Namespace support