Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Tagged as

ObjectScript: A new programming language

, 9 Oct 2012
The ObjectScript is a new programing language that mixes benefits of JavaScript, Lua, and PHP. The ObjectScript has syntax from JavaScript, multiple results from Lua, OOP from PHP and much more.
OS-0.98-rc-noexe.ZIP
OS
examples-os
add_user_module.os
bind.os
core.os
run_os_prog.os
test.os
proj.win32
add_user_module
add_user_module.vcxproj.filters
os
os.vcxproj.filters
osbind
osbind.vcxproj.filters
profile_benchmark
profile_benchmark.vcxproj.filters
scripts
test_fannkuch.lua
test_fannkuch.os
run_os_prog
run_os_prog.vcxproj.filters
stack_usage
stack_usage.vcxproj.filters
README.md
source
os-binder-FunctionClassImp.tpl
os-binder-FunctionImp.tpl
os-binder-FunctionImpVoid.tpl
OS-0.98-rc.ZIP
bin
os.exe
add_user_module.os
bind.os
core.os
run_os_prog.os
test.os
Makefile
add_user_module.vcxproj.filters
os.vcxproj.filters
osbind.vcxproj.filters
profile_benchmark.vcxproj.filters
test_fannkuch.lua
test_fannkuch.os
run_os_prog.vcxproj.filters
stack_usage.vcxproj.filters
README.md
os-binder-FunctionClassImp.tpl
os-binder-FunctionImp.tpl
os-binder-FunctionImpVoid.tpl
unitpoint-objectscript-86f30d7-noexe.zip
unitpoint-objectscript-86f30d7
.gitignore
README.md
bin
.gitignore
examples-os
add_user_module.os
bind.os
core.os
run_os_prog.os
test.os
proj.win32
.gitignore
add_user_module
.gitignore
os
.gitignore
test_fannkuch.osc
test_fannkuch.osd
osbind
.gitignore
profile_benchmark
.gitignore
scripts
test_fannkuch.lua
test_fannkuch.os
run_os_prog
.gitignore
stack_usage
.gitignore
source
.gitignore
os-binder-FunctionClassImp.tpl
os-binder-FunctionImp.tpl
os-binder-FunctionImpVoid.tpl
unitpoint-objectscript-86f30d7.zip
.gitignore
README.md
.gitignore
os.exe
add_user_module.os
bind.os
core.os
run_os_prog.os
test.os
.gitignore
.gitignore
.gitignore
test_fannkuch.osc
test_fannkuch.osd
.gitignore
.gitignore
test_fannkuch.lua
test_fannkuch.os
.gitignore
.gitignore
.gitignore
os-binder-FunctionClassImp.tpl
os-binder-FunctionImp.tpl
os-binder-FunctionImpVoid.tpl
{-1:"..\\Release\\profile_benchmark.exe","..\\os\\test_fannkuch.os","9"}
8629
Pfannkuchen(9) = 30
time = 10.8498
OS script full time: 10.854386 secs
            gc time: 0.000163 secs (0.00%)

=== OP_PUSH_LOCAL_VAR, executed count: 62375073
sum time: 2.125549 secs (19.58%), avg time of 100000 times: 0.003408

=== OP_GET_PROPERTY, executed count: 10447681
sum time: 0.910001 secs (8.38%), avg time of 100000 times: 0.008710

=== OP_SET_PROPERTY, executed count: 9762268
sum time: 0.741314 secs (6.83%), avg time of 100000 times: 0.007594

=== OP_PUSH_NUMBER, executed count: 19204429
sum time: 0.732381 secs (6.75%), avg time of 100000 times: 0.003814

=== OP_SET_LOCAL_VAR, executed count: 18417396
sum time: 0.694387 secs (6.40%), avg time of 100000 times: 0.003770

=== OP_IF_NOT_JUMP, executed count: 10264805
sum time: 0.514346 secs (4.74%), avg time of 100000 times: 0.005011

=== OP_ADD, executed count: 7304969
sum time: 0.426983 secs (3.93%), avg time of 100000 times: 0.005845

=== OP_PUSH_LOCAL_VAR_AUTO_CREATE, executed count: 9762263
sum time: 0.369102 secs (3.40%), avg time of 100000 times: 0.003781

=== OP_JUMP, executed count: 8092648
sum time: 0.343653 secs (3.17%), avg time of 100000 times: 0.004246

=== OP_LOGIC_GE, executed count: 3722222
sum time: 0.239639 secs (2.21%), avg time of 100000 times: 0.006438

=== ALL OPCODES, executed count: 174676059
sum time: 7.927303 secs (73.03%), avg time of 100000 times: 0.004538

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The MIT License

Share

About the Author

unitpoint

United States United States
No Biography provided

| Advertise | Privacy | Mobile
Web03 | 2.8.140827.1 | Last Updated 9 Oct 2012
Article Copyright 2012 by unitpoint
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid