|
| 16 Jul 2015 09:50 PM |
HTML is a scripting language and all the facts are proven < [] html [] > this looks exactly like when you're setting vectors in c++ vector< [] string[] > HTML is now a confirmed scripting language and has similar syntax < [] div class= see you can set classes too, now it's even more than lua HTML is an OOP language......... |
|
|
| Report Abuse |
|
|
baldo46
|
  |
| Joined: 28 Jul 2008 |
| Total Posts: 1254 |
|
|
| 16 Jul 2015 09:51 PM |
| =_= Can't tell if being sarcastic or not... |
|
|
| Report Abuse |
|
|
morash
|
  |
| Joined: 22 May 2010 |
| Total Posts: 5834 |
|
|
| 16 Jul 2015 09:51 PM |
| Give me a pure HTML program that adds two numbers. kthxbai |
|
|
| Report Abuse |
|
|
|
| 16 Jul 2015 09:52 PM |
I am 100% serious about this non-debatable argument. HTML is also obviously better than Lua because you can just do class= with Lua you have to use metatables to create artificial classes... |
|
|
| Report Abuse |
|
|
booing
|
  |
| Joined: 04 May 2009 |
| Total Posts: 6594 |
|
|
| 16 Jul 2015 09:52 PM |
| Agreed, though each may be a bit evolved (not sure which was first) - it's clear at parts of the languages' syntax were inherited from a parent language with characteristics similar to both, since with looks come functionality. |
|
|
| Report Abuse |
|
|
|
| 16 Jul 2015 09:52 PM |
I don't think you have a clue what you're talking about.
A scripting language is any programming language that isn't compiled. JavaScript, for example, is a scripting language. HTML is a scripting language but it's a particular type of scripting language called a markup language.
C++, as well as other languages like Java, are not scripting languages. |
|
|
| Report Abuse |
|
|
baldo46
|
  |
| Joined: 28 Jul 2008 |
| Total Posts: 1254 |
|
|
| 16 Jul 2015 09:53 PM |
| False. HTML is a markup language. |
|
|
| Report Abuse |
|
|
|
| 16 Jul 2015 09:54 PM |
@JohnTheRipMaster HTML is compiled . . . As well as Lua . |
|
|
| Report Abuse |
|
|
lordrambo
|
  |
| Joined: 16 Jun 2009 |
| Total Posts: 20628 |
|
|
| 16 Jul 2015 09:55 PM |
| You will never be as good as Booing. |
|
|
| Report Abuse |
|
|
|
| 16 Jul 2015 09:55 PM |
| Hmm. I guess in some sense a markup language can be considered something completely different, not scripting at all, since it is handled differently. |
|
|
| Report Abuse |
|
|
|
| 16 Jul 2015 09:55 PM |
You cannot compare HTML with Lua. Lua family branch from the C, HTML has no root with C++ it's just that they copied a bit on the same style of writing.
C++ is an upgraded version of C with different way of scripting (A free tip: ++ of C++ mean an incrementation in programming variable++;)
HTML is used for scripting Template,Website,"Virtual HTML5 Game" (Unless you mean HTML 4.0)
Lua is used scripting in a Virtual World. |
|
|
| Report Abuse |
|
|
|
| 16 Jul 2015 09:56 PM |
@morash
[!doctype html5] [html] [body] [p style="position: calc(1px+5px)"]Hello![/p] [/body] [/html]
This, if you replace the brackets by curved brackets, is a valid HTML document according to the latest HTML5 standard as published by the World Wide Web Consortium, and it adds the numbers 1 and 5. |
|
|
| Report Abuse |
|
|
booing
|
  |
| Joined: 04 May 2009 |
| Total Posts: 6594 |
|
|
| 16 Jul 2015 09:56 PM |
| Most people on Scripters haven't been on for long, but ther used to be tons of threads arguing which language would be best for Roblox. Since the actual Roblox models and places are in XML, it WOULD make a lot of sense that XML or HTML be used since it's pretty clear Roblox has real classes, destroys the ability by using Lua, and then has virtualized object orientation with metatables (inefficient and slow). But I'd say their choice was pretty close to perfect, look how far it's gotten them. But hey, for each his own. And lordrambo, jason and I are about equal in knowledge. Let's not compare incomparable things. |
|
|
| Report Abuse |
|
|
baldo46
|
  |
| Joined: 28 Jul 2008 |
| Total Posts: 1254 |
|
|
| 16 Jul 2015 09:56 PM |
| That's actually CSS / HTML not just HTML. Invalid. |
|
|
| Report Abuse |
|
|
|
| 16 Jul 2015 09:56 PM |
You can do even more with HTML than c++ can, it even has more flexibility with C++ you have to do class jargon {
} with HTML it's just class= HTML is clearly the better compiled and OOP programming language......... |
|
|
| Report Abuse |
|
|
|
| 16 Jul 2015 09:57 PM |
@jason
Are you serious? HTML is NOT compiled. Lua can be compiled but 99% of the time isn't.
Literally the first sentence on the About page of Lua.org says, "Lua is a powerful, fast, lightweight, embeddable scripting language."
HTML is not compiled. Do you even know what compiling is?
Compiling is when you turn code into machine code. If you write a C++ code, it's directly converted into binary instructions for the computer to understand. |
|
|
| Report Abuse |
|
|
bohdan77
|
  |
| Joined: 10 Aug 2008 |
| Total Posts: 7944 |
|
| |
|
baldo46
|
  |
| Joined: 28 Jul 2008 |
| Total Posts: 1254 |
|
| |
|
|
| 16 Jul 2015 09:59 PM |
HTML is converted to binary. [html] [body] Converting to binary [/body] [p] 01000011 01101111 01101110 01110110 01100101 01110010 01110100 01101001 01101110 01100111 00100000 01110100 01101111 00100000 01100010 01101001 01101110 01100001 01110010 01111001 [/p] [/html] |
|
|
| Report Abuse |
|
|
lordrambo
|
  |
| Joined: 16 Jun 2009 |
| Total Posts: 20628 |
|
|
| 16 Jul 2015 10:01 PM |
"Compiling is when you turn code into machine code." html instructions get turned into machine code
I remember more threads like this http://www.roblox.com/Forum/ShowPost.aspx?PostID=123512938 |
|
|
| Report Abuse |
|
|
|
| 16 Jul 2015 10:02 PM |
> A scripting language is any programming language that isn't compiled.
Lua is compiled to Lua bytecode before being executed by the Lua virtual machine. Yet it is certainly a scripting language.
> That's actually CSS / HTML not just HTML. Invalid.
It is a valid HTML document.
> Are you serious? HTML is NOT compiled. Lua can be compiled but 99% of the time isn't.
Lua is compiled to Lua bytecode before being executed certainly more than 99% of the time.
HTML too can be compiled. Just look at this page, for example, which describes how to compile HTML pages: xmlc.ow2.org/doc/doc/xmlc/user-manual/html/compiling.html. |
|
|
| Report Abuse |
|
|
|
| 16 Jul 2015 10:03 PM |
| No, HTML is interpreted as plaintext. |
|
|
| Report Abuse |
|
|
|
| 16 Jul 2015 10:04 PM |
> No, HTML is interpreted as plaintext.
text/plain is not an acceptable MIME type for HTML documents, and text/html should be used most of the time. |
|
|
| Report Abuse |
|
|
baldo46
|
  |
| Joined: 28 Jul 2008 |
| Total Posts: 1254 |
|
|
| 16 Jul 2015 10:05 PM |
| I'm not saying it's an invalid HTML document, I'm saying the challenge was to add 2+2 with PURE HTML. That's HTML + CSS. anything using the keyword style is CSS. That's why it's invalid. It does not complete the challenge, though the syntax is valid. |
|
|
| Report Abuse |
|
|
| |
|