Jump to content

Recommended Posts

It isn't technically "code" is it? I mean code implies programming like at a systems level ?

 

Or does scripting count as "code"?

 

I don't know why I can't think of what word or string of words to call like for example:

 

<img src... > that stuff I mean HTML

CSS , jQuery, Javascript, etc... but what do you call that?

 

Can you call it "code" ?

 

I mean you can call it what you want but what is the proper technical way to say or classify that "language" or...

I guess you are referring to compiled and interpreted code. Compiled code is translated to CPU instructions where as interpreted code like PHP, HTML, CSS, and JavaScript are translated to instructions in whatever language they were programmed in. For PHP it's C. For HTML, CSS, and JavaScript it depends on the language of the browser.

 

For more information:

https://en.wikipedia.org/wiki/Abstract_syntax_tree

 

You can create your own programming language using a BNF generator:

https://en.wikipedia.org/wiki/Extended_Backus–Naur_Form

 

Some libraries provide a working lexer:

https://github.com/doctrine/lexer/blob/master/lib/Doctrine/Common/Lexer/AbstractLexer.php

Edited by ignace
  • 3 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.