<s>
Smart	B-Language
Pascal	I-Language
is	O
a	O
dialect	O
of	O
the	O
Object	B-Language
Pascal	I-Language
computer	O
language	O
that	O
is	O
derived	O
from	O
Delphi	B-Language
Web	O
Script	O
,	O
but	O
is	O
enhanced	O
and	O
adapted	O
for	O
Smart	O
Mobile	O
Studio	O
,	O
a	O
commercial	O
development	O
suite	O
that	O
generates	O
JavaScript	B-Language
rather	O
than	O
machine	B-Language
code	I-Language
.	O
</s>
<s>
Smart	B-Language
Pascal	I-Language
is	O
a	O
RAD	O
(	O
rapid	O
application	O
development	O
)	O
language	O
,	O
and	O
ships	O
with	O
a	O
substantial	O
library	O
of	O
classes	O
and	O
pre-made	O
components	O
.	O
</s>
<s>
The	O
Smart	B-Language
Pascal	I-Language
compiler	O
is	O
an	O
advanced	O
source-to-source	B-Language
compiler	I-Language
generating	O
rich	O
,	O
HTML5	B-Application
compliant	O
,	O
server	O
independent	O
applications	O
.	O
</s>
<s>
Compiled	O
Smart	O
applications	O
can	O
be	O
executed	O
in	O
any	O
modern	O
HTML5	B-Application
capable	O
browser	O
.	O
</s>
<s>
A	O
compiled	O
program	O
is	O
typically	O
embedded	O
within	O
a	O
DIV	B-General_Concept
container	I-General_Concept
element	I-General_Concept
or	O
alternatively	O
set	O
to	O
occupy	O
the	O
entire	O
display	O
.	O
</s>
<s>
The	O
run-time	B-Library
library	I-Library
was	O
specifically	O
built	O
for	O
increased	O
productivity	O
and	O
time-to-market	O
with	O
regards	O
to	O
mobile	O
application	O
development	O
.	O
</s>
<s>
Smart	B-Language
Pascal	I-Language
reduces	O
development	O
time	O
for	O
JavaScript	B-Language
radically	O
linguistically	O
,	O
by	O
means	O
of	O
Object	B-Language
Pascal	I-Language
and	O
true	O
object	B-Language
oriented	I-Language
programming	I-Language
,	O
and	O
with	O
regards	O
to	O
how	O
the	O
run-time	B-Library
library	I-Library
's	O
class	O
and	O
component	O
system	O
is	O
designed	O
.	O
</s>
<s>
The	O
RTL	O
interacts	O
with	O
the	O
document	B-General_Concept
object	I-General_Concept
model	I-General_Concept
and	O
JavaScript	B-Language
environment	O
in	O
the	O
same	O
way	O
a	O
native	O
language	O
would	O
interact	O
with	O
an	O
operative	O
system	O
;	O
abstracting	O
common	O
denominators	O
and	O
automating	O
complex	O
tasks	O
.	O
</s>
<s>
Smart	B-Language
Pascal	I-Language
is	O
also	O
popular	O
for	O
micro-controller	O
programming	O
Espruino	B-Device
and	O
nodeJS	B-Language
client/server	O
modules	O
.	O
</s>
<s>
The	O
language	O
uses	O
a	O
popular	O
open-source	B-License
scripting	O
engine	O
called	O
Delphi	B-Language
Web	O
Script	O
(	O
DWScript	O
)	O
for	O
syntax	O
verification	O
and	O
parsing	O
.	O
</s>
<s>
On	O
18	O
May	O
2012	O
Optimale	O
Systemer	O
disclosed	O
that	O
it	O
had	O
acquired	O
the	O
rights	O
to	O
a	O
custom	O
code	O
generator	O
written	O
by	O
Eric	O
Grange	O
,	O
the	O
maintainer	O
of	O
Delphi	B-Language
Web	O
Script	O
,	O
from	O
his	O
company	O
Creative	O
IT	O
,	O
France	O
(	O
see	O
article	O
:	O
)	O
.	O
</s>
<s>
Prior	O
to	O
working	O
with	O
Eric	O
Grange	O
,	O
Jon	O
Lennart	O
Aasenden	O
had	O
published	O
several	O
proposals	O
where	O
he	O
outlined	O
his	O
thoughts	O
for	O
a	O
new	O
object	B-Language
pascal	I-Language
compiler	O
;	O
a	O
compiler	O
that	O
would	O
target	O
Javascript	B-Language
and	O
the	O
browser	O
as	O
opposed	O
to	O
x86	O
or	O
ARM	O
processors	O
.	O
</s>
<s>
He	O
was	O
initially	O
met	O
with	O
heavy	O
criticism	O
from	O
the	O
Delphi	B-Language
and	O
Free	O
Pascal	O
community	O
,	O
but	O
found	O
support	O
in	O
Eric	O
Grange	O
who	O
that	O
JavaScript	B-Language
had	O
come	O
of	O
age	O
-	O
and	O
could	O
now	O
be	O
used	O
to	O
build	O
large-scale	O
,	O
serious	O
business	O
applications	O
.	O
</s>
<s>
Jon	O
Lennart	O
wrote	O
the	O
Smart	B-Language
Pascal	I-Language
run-time	B-Library
library	I-Library
and	O
integrated	B-Application
development	I-Application
environment	I-Application
while	O
Eric	O
Grange	O
perfected	O
the	O
code	O
generator	O
and	O
language	O
improvements	O
.	O
</s>
<s>
As	O
a	O
result	O
,	O
the	O
run-time	B-Library
library	I-Library
and	O
tools	O
grew	O
to	O
include	O
support	O
for	O
advanced	O
technologies	O
like	O
Remobjects	O
SDK	O
and	O
Embarcadero	O
Datasnap	O
-	O
donated	O
to	O
the	O
framework	O
by	O
software	O
developer	O
Andre	O
Mussche	O
.	O
</s>
<s>
From	O
version	O
2.0	O
Smart	B-Language
Pascal	I-Language
supported	O
nodeJS	B-Language
,	O
Web	O
Workers	O
and	O
the	O
Espruino	B-Device
micro-controller	O
platform	O
courtesy	O
of	O
German	O
mathematician	O
and	O
developer	O
Christian	O
Budde	O
.	O
</s>
<s>
At	O
the	O
same	O
time	O
,	O
technical	O
author	O
and	O
software	O
architect	O
Primož	O
Gabrijelčič	O
(	O
author	O
of	O
the	O
book	O
Parallel	O
Programming	O
,	O
among	O
other	O
titles	O
)	O
decided	O
to	O
write	O
a	O
book	O
on	O
Smart	B-Language
Pascal	I-Language
:	O
A	O
smart	O
book	O
,	O
which	O
for	O
programming	O
languages	O
is	O
often	O
regarded	O
as	O
a	O
stamp	O
of	O
approval	O
.	O
</s>
<s>
The	O
dialect	O
known	O
as	O
Smart	B-Language
Pascal	I-Language
grew	O
out	O
of	O
the	O
mutual	O
co-operation	O
between	O
all	O
these	O
individuals	O
.	O
</s>
<s>
The	O
Smart	B-Language
Pascal	I-Language
IDE	O
has	O
some	O
similarities	O
with	O
Adobe	B-Operating_System
Flash	I-Operating_System
in	O
that	O
you	O
essentially	O
build	O
object-oriented	B-Language
,	O
high-speed	O
,	O
modular	O
applications	O
designed	O
to	O
live	O
in	O
a	O
HTML	O
document	O
.	O
</s>
<s>
The	O
graphical	O
capabilities	O
of	O
the	O
Smart	O
run-time	B-Library
library	I-Library
are	O
more	O
than	O
up	O
to	O
the	O
task	O
of	O
replicating	O
some	O
of	O
the	O
features	O
Adobe	B-Operating_System
Flash	I-Operating_System
is	O
famous	O
for	O
-	O
but	O
Smart	B-Language
Pascal	I-Language
is	O
ultimately	O
a	O
toolkit	O
for	O
creating	O
HTML5	B-Application
mobile	O
applications	O
.	O
</s>
<s>
Smart	B-Language
Pascal	I-Language
was	O
simply	O
not	O
designed	O
to	O
be	O
a	O
multimedia	O
composer	O
and	O
remains	O
a	O
clear-cut	O
HTML5	B-Application
development	O
platform	O
for	O
Object	B-Language
Pascal	I-Language
programmers	O
.	O
</s>
<s>
The	O
learning	O
curve	O
for	O
Smart	B-Language
Pascal	I-Language
is	O
considerably	O
higher	O
than	O
for	O
Adobe	B-Operating_System
ActionScript	I-Operating_System
.	O
</s>
<s>
Visual	O
Smart	B-Language
Pascal	I-Language
applications	O
are	O
based	O
on	O
forms	O
.	O
</s>
<s>
On	O
the	O
level	O
of	O
architecture	O
,	O
the	O
Smart	B-Language
Pascal	I-Language
run-time	B-Library
library	I-Library
has	O
full	O
support	O
for	O
advanced	O
graphical	O
expressions	O
,	O
including	O
dynamically	O
created	O
CSS3	O
styles	O
,	O
"	O
tweening	O
"	O
,	O
display	O
redraw	O
synchronization	O
,	O
GPU	O
powered	O
2D	O
and	O
3D	O
sprites	O
and	O
WebGL	B-Library
.	O
</s>
<s>
One	O
could	O
say	O
that	O
Smart	B-Language
Pascal	I-Language
is	O
"	O
something	O
like	O
Flash	O
"	O
,	O
but	O
that	O
is	O
where	O
the	O
parallel	O
ends	O
.	O
</s>
<s>
Smart	B-Language
Pascal	I-Language
has	O
one	O
advantage	O
over	O
Flash	O
in	O
that	O
HTML5	B-Application
applications	O
have	O
no	O
dependencies	O
.	O
</s>
<s>
A	O
Smart	B-Language
Pascal	I-Language
program	O
does	O
not	O
rely	O
on	O
plugins	O
,	O
browser	O
extensions	O
or	O
third	O
party	O
libraries	O
.	O
</s>
<s>
The	O
Smart	B-Language
Pascal	I-Language
run-time	B-Library
library	I-Library
supports	O
all	O
the	O
browser	O
database	O
engines	O
in	O
circulation	O
.	O
</s>
<s>
Access	O
to	O
these	O
is	O
achieved	O
via	O
classes	O
rather	O
than	O
components	O
,	O
which	O
breaks	O
with	O
how	O
Object	B-Language
Pascal	I-Language
traditionally	O
deals	O
with	O
data	O
.	O
</s>
<s>
The	O
Smart	O
IDE	O
also	O
imports	O
and	O
allows	O
access	O
to	O
Embarcadero	O
DataSnap	O
,	O
which	O
is	O
a	O
remote-data-access	O
framework	O
popular	O
with	O
Delphi	B-Language
and	O
C++	B-Language
builder	I-Language
.	O
</s>
<s>
Using	O
these	O
import	O
libraries	O
allows	O
Smart	B-Language
Pascal	I-Language
applications	O
to	O
read	O
,	O
write	O
and	O
update	O
remote	O
datasets	O
.	O
</s>
<s>
Smart	B-Language
Pascal	I-Language
is	O
itself	O
written	O
in	O
Embarcadero	B-Language
Delphi	I-Language
.	O
</s>
<s>
The	O
run-time	B-Library
library	I-Library
includes	O
classes	O
for	O
RemObjects	O
SDK	O
,	O
a	O
remote	O
procedure	O
call	O
framework	O
along	O
the	O
lines	O
of	O
Microsoft	B-General_Concept
RPC	I-General_Concept
.	O
</s>
<s>
JSON	B-General_Concept
RPC	I-General_Concept
and	O
WebSockets	B-Protocol
are	O
likewise	O
a	O
part	O
of	O
the	O
class	O
library	O
.	O
</s>
<s>
Smart	B-Language
Pascal	I-Language
has	O
several	O
differences	O
that	O
clearly	O
separate	O
the	O
dialect	O
from	O
standard	O
Object	B-Language
Pascal	I-Language
:	O
</s>
<s>
In	O
Object	B-Language
Pascal	I-Language
a	O
property	O
is	O
an	O
exposed	O
value	O
that	O
can	O
either	O
be	O
linked	O
to	O
a	O
class-field	O
or	O
a	O
class-member	O
method	O
.	O
</s>
<s>
Smart	B-Language
Pascal	I-Language
has	O
full	O
support	O
for	O
the	O
older	O
paradigm	O
but	O
introduces	O
a	O
technique	O
called	O
"	O
property	O
expressions	O
"	O
.	O
</s>
<s>
This	O
is	O
completely	O
unheard	O
of	O
under	O
traditional	O
Object	B-Language
Pascal	I-Language
,	O
but	O
common	O
in	O
other	O
languages	O
like	O
C#	B-Application
and	O
Objective-C	B-Language
.	O
</s>
<s>
In	O
classical	O
Object	B-Language
Pascal	I-Language
you	O
could	O
write	O
something	O
like	O
this	O
:	O
</s>
<s>
Using	O
Smart	B-Language
Pascal	I-Language
with	O
property	O
expressions	O
,	O
you	O
can	O
omit	O
the	O
getFirstName( )	O
and	O
setFirstName( )	O
stubs	O
-	O
and	O
implement	O
the	O
logic	O
as	O
part	O
of	O
the	O
property	O
declaration	O
itself	O
:	O
</s>
<s>
If	O
a	O
class	O
exposes	O
sub	O
objects	O
(	O
object	O
lists	O
)	O
you	O
had	O
,	O
prior	O
to	O
generics	B-Language
,	O
to	O
write	O
a	O
lot	O
of	O
the	O
same	O
code	O
over	O
and	O
over	O
again	O
,	O
wrapping	O
already	O
existing	O
code	O
in	O
a	O
list	O
object	O
—	O
which	O
for	O
complex	O
class	O
hierarchies	O
reduces	O
execution	O
speed	O
with	O
unnecessary	O
bloat	O
.	O
</s>
<s>
This	O
has	O
changed	O
for	O
the	O
better	O
with	O
the	O
introduction	O
of	O
generics	B-Language
,	O
but	O
you	O
still	O
have	O
to	O
isolate	O
reader	O
and	O
writer	O
logic	O
in	O
distinct	O
class	O
members	O
.	O
</s>
<s>
Under	O
Smart	B-Language
Pascal	I-Language
this	O
is	O
elegantly	O
achieved	O
using	O
arrays	O
:	O
</s>
<s>
Array	O
operations	O
were	O
added	O
to	O
the	O
Smart	B-Language
Pascal	I-Language
syntax	O
to	O
better	O
adapt	O
to	O
JavaScript	B-Language
.	O
</s>
<s>
Since	O
JavaScript	B-Language
has	O
no	O
concept	O
of	O
pointers	O
or	O
direct	O
memory	O
access	O
,	O
all	O
attempts	O
at	O
dealing	O
with	O
lists	O
,	O
linked	O
lists	O
etc	O
.	O
</s>
<s>
So	O
where	O
you	O
under	O
Delphi	B-Language
or	O
Free	O
Pascal	O
would	O
allocate	O
a	O
TList	O
or	O
TObjectList	O
instance	O
-	O
Smart	B-Language
Pascal	I-Language
achieves	O
better	O
performance	O
and	O
identical	O
functionality	O
using	O
ordinary	O
arrays	O
.	O
</s>
<s>
Where	O
under	O
vanilla	B-General_Concept
Object	B-Language
Pascal	I-Language
you	O
would	O
write	O
:	O
</s>
<s>
Smart	B-Language
Pascal	I-Language
has	O
this	O
functionality	O
"	O
built-in	O
"	O
for	O
all	O
arrays	O
,	O
as	O
long	O
as	O
the	O
datatypes	O
match	O
.	O
</s>
<s>
When	O
you	O
combine	O
this	O
with	O
property	O
expressions	O
,	O
the	O
result	O
is	O
a	O
powerful	O
and	O
alternative	O
way	O
of	O
achieving	O
the	O
same	O
with	O
less	O
resources	O
and	O
more	O
speed	O
than	O
generics	B-Language
or	O
traditional	O
Object	B-Language
Pascal	I-Language
:	O
</s>
<s>
Smart	B-Language
Pascal	I-Language
has	O
no	O
need	O
for	O
classes	O
like	O
TObjectlist	O
,	O
TList	O
,	O
TStringlist	O
and	O
TStack	O
(	O
these	O
are	O
provided	O
by	O
the	O
run-time	B-Library
library	I-Library
for	O
legacy	O
support	O
with	O
Delphi	B-Language
's	O
Visual	O
Component	O
Library	O
only	O
)	O
.	O
</s>
<s>
Like	O
property	O
expressions	O
and	O
array	O
operations	O
,	O
anonymous	O
methods	O
was	O
introduced	O
in	O
Smart	B-Language
Pascal	I-Language
as	O
a	O
means	O
to	O
improve	O
compatibility	O
with	O
JavaScript	B-Language
.	O
</s>
<s>
Both	O
Delphi	B-Language
and	O
Free	O
Pascal	O
support	O
anonymous	O
methods	O
,	O
but	O
Smart	B-Language
Pascal	I-Language
has	O
one	O
advantage	O
over	O
these	O
native	O
compilers	O
.	O
</s>
<s>
Under	O
native	O
Pascal	O
(	O
compilers	O
that	O
produce	O
executable	O
machine	B-Language
code	I-Language
)	O
,	O
you	O
have	O
class	O
procedures	O
and	O
ordinary	O
procedures	O
.	O
</s>
<s>
An	O
event	O
is	O
declared	O
thus	O
in	O
ordinary	O
Object	B-Language
Pascal	I-Language
:	O
</s>
<s>
Smart	B-Language
Pascal	I-Language
does	O
not	O
have	O
this	O
distinction	O
.	O
</s>
<s>
There	O
is	O
no	O
"	O
of	O
object	O
"	O
in	O
the	O
Smart	O
dialect	O
;	O
anonymous	O
methods	O
can	O
be	O
applied	O
on	O
a	O
wider	O
scale	O
than	O
under	O
native	O
Object	B-Language
Pascal	I-Language
,	O
including	O
object	O
based	O
events	O
and	O
callback	O
handlers	O
.	O
</s>
<s>
Under	O
Smart	B-Language
Pascal	I-Language
the	O
example	O
below	O
is	O
perfectly	O
valid	O
and	O
compiles	O
without	O
any	O
problems	O
:	O
</s>
<s>
In	O
traditional	O
Object	B-Language
Pascal	I-Language
,	O
all	O
classes	O
inherit	O
from	O
a	O
root	O
type	O
called	O
TObject	O
.	O
</s>
<s>
This	O
was	O
also	O
the	O
case	O
for	O
Delphi	B-Language
Web	O
Script	O
,	O
from	O
which	O
Smart	B-Language
Pascal	I-Language
evolved	O
.	O
</s>
<s>
To	O
better	O
be	O
able	O
to	O
import	O
classes	O
written	O
in	O
Javascript	B-Language
—	O
which	O
is	O
extremely	O
important	O
to	O
providing	O
full	O
support	O
for	O
the	B-General_Concept
DOM	I-General_Concept
(	O
document	B-General_Concept
object	I-General_Concept
model	I-General_Concept
)	O
and	O
the	O
full	O
spectrum	O
of	O
JavaScript	B-Language
modules	O
—	O
dependency	O
on	O
TObject	O
as	O
the	O
root	O
of	O
all	O
class	O
types	O
had	O
to	O
be	O
altered	O
.	O
</s>
<s>
Eric	O
Grange	O
introduced	O
anonymous	O
classes	O
in	O
Smart	B-Language
Pascal	I-Language
starting	O
from	O
version	O
1.0	O
,	O
which	O
meant	O
that	O
Smart	B-Language
Pascal	I-Language
was	O
now	O
able	O
to	O
directly	O
import	O
and	O
make	O
use	O
of	O
external	O
classes	O
.	O
</s>
<s>
This	O
allows	O
the	O
user	O
to	O
simply	O
define	O
a	O
class	O
as	O
external	O
,	O
and	O
classes	O
written	O
in	O
JavaScript	B-Language
that	O
match	O
the	O
interface	O
can	O
thus	O
be	O
created	O
and	O
used	O
alongside	O
those	O
written	O
in	O
Pascal	O
.	O
</s>
<s>
Partial	O
classes	O
is	O
yet	O
a	O
feature	O
that	O
has	O
not	O
made	O
it	O
into	O
the	O
Object	B-Language
Pascal	I-Language
standard	O
.	O
</s>
<s>
This	O
is	O
the	O
case	O
for	O
Mono	O
C#	B-Application
under	O
iOS	O
for	O
instance	O
,	O
where	O
the	O
pre-compiled	O
application	O
controller	O
is	O
expected	O
to	O
be	O
completed	O
by	O
the	O
framework	O
user	O
.	O
</s>
<s>
Smart	B-Language
Pascal	I-Language
supports	O
two	O
declaration	O
formats	O
of	O
partial	O
classes	O
.	O
</s>
<s>
Partial	O
classes	O
are	O
used	O
throughout	O
the	O
Smart	B-Language
Pascal	I-Language
run-time	B-Library
library	I-Library
:	O
</s>
<s>
Lambdas	O
is	O
an	O
extremely	O
handy	O
feature	O
that	O
,	O
like	O
partial	O
and	O
anonymous	O
classes	O
,	O
is	O
not	O
yet	O
a	O
part	O
of	O
classical	O
object	B-Language
pascal	I-Language
.	O
</s>
<s>
The	O
Smart	B-Language
Pascal	I-Language
syntax	O
supports	O
several	O
kind	O
of	O
lambdas	O
,	O
which	O
is	O
pretty	O
handy	O
when	O
writing	O
asynchronous	O
code	O
.	O
</s>
<s>
The	O
Smart	B-Language
Pascal	I-Language
syntax	O
currently	O
supports	O
only	O
sets	O
of	O
enumerations	O
,	O
with	O
the	O
"	O
in	O
"	O
operator	O
,	O
and	O
"	O
include(aSet, aValue )	O
"	O
or	O
"	O
exclude(aSet, aValue )	O
"	O
methods	O
.	O
</s>
<s>
Smart	B-Language
Pascal	I-Language
does	O
not	O
support	O
generics	B-Language
.	O
</s>
<s>
The	O
original	O
syntax	O
of	O
Delphi	B-Language
Web	O
Script	O
Smart	B-Language
Pascal	I-Language
derives	O
from	O
was	O
compatible	O
with	O
Delphi	B-Language
7	O
.	O
</s>
<s>
Although	O
the	O
DWScript	O
codebase	O
and	O
language	O
has	O
evolved	O
considerably	O
over	O
the	O
past	O
six	O
years	O
,	O
generics	B-Language
represents	O
a	O
monumental	O
change	O
that	O
might	O
require	O
a	O
complete	O
re-write	O
of	O
the	O
entire	O
parser	O
and	O
AST	O
(	O
"	O
abstract	O
symbolic	O
tree	O
"	O
in	O
compiler	O
science	O
)	O
technology	O
.	O
</s>
<s>
Lack	O
of	O
generics	B-Language
is	O
tempered	O
by	O
two	O
features	O
of	O
the	O
language	O
:	O
</s>
<s>
`class	O
of`	O
types	O
can	O
be	O
used	O
to	O
instantiate	O
a	O
given	O
`class`	O
instance	O
at	O
runtime	O
(	O
just	O
as	O
with	O
regular	O
object	B-Language
pascal	I-Language
)	O
.	O
</s>
<s>
RTTI	O
is	O
implemented	O
by	O
the	O
Smart	B-Language
Pascal	I-Language
JavaScript	B-Language
compiler	O
,	O
if	O
the	O
"	O
Emit	O
RTTI	O
information	O
"	O
is	O
defined	O
in	O
the	O
Project	O
's	O
Compiler	O
options	O
.	O
</s>
<s>
will	O
emit	O
the	O
following	O
RTTI	O
JavaScript	B-Language
object	O
:	O
</s>
<s>
Smart	B-Language
Pascal	I-Language
is	O
often	O
regarded	O
as	O
a	O
powerful	O
oddity	O
in	O
the	O
world	O
of	O
object	B-Language
pascal	I-Language
.	O
</s>
<s>
Even	O
though	O
the	O
language	O
supports	O
nearly	O
every	O
syntax	O
feature	O
defined	O
by	O
Embarcadero	B-Language
Delphi	I-Language
,	O
it	O
often	O
breaks	O
or	O
expands	O
on	O
the	O
syntax	O
to	O
introduce	O
radical	O
but	O
effective	O
solutions	O
,	O
that	O
make	O
it	O
more	O
useful	O
for	O
asynchronous	O
programming	O
.	O
</s>
<s>
As	O
such	O
it	O
promotes	O
concepts	O
borrowed	O
from	O
both	O
JavaScript	B-Language
and	O
Objective-C	B-Language
,	O
mixed	O
with	O
elements	O
from	O
C++	B-Language
,	O
C#	B-Application
and	O
Smalltalk	B-Application
.	O
</s>
<s>
The	O
result	O
is	O
a	O
flexible	O
and	O
dynamic	O
flavor	O
of	O
Object	B-Language
Pascal	I-Language
that	O
greatly	O
simplifies	O
server-less	O
HTML5	B-Application
JavaScript	B-Language
development	O
.	O
</s>
<s>
Powerful	O
as	O
the	O
dialect	O
is	O
,	O
many	O
traditional	O
Object	B-Language
Pascal	I-Language
programmers	O
regard	O
Smart	O
as	O
a	O
hybrid	O
language	O
,	O
the	O
common	O
objection	O
being	O
that	O
Smart	O
promotes	O
features	O
somewhat	O
alien	O
to	O
the	O
established	O
principles	O
of	O
Object	B-Language
Pascal	I-Language
.	O
</s>
<s>
Smart	O
supporters	O
argue	O
that	O
this	O
new	O
dialect	O
is	O
necessary	O
for	O
modern	O
software	O
development	O
,	O
and	O
that	O
this	O
is	O
exactly	O
what	O
Object	B-Language
Pascal	I-Language
needs	O
in	O
order	O
to	O
evolve	O
and	O
adapt	O
-	O
pointing	O
to	O
generics	B-Language
as	O
a	O
recent	O
paradigm	O
shift	O
.	O
</s>
