Opa is an actively used programming language created in 2011. Opa is an open-source programming language for developing scalable web applications. It can be used for both client-side and server-side scripting, where complete programs are written in Opa and subsequently compiled to Nodejs on the server and JavaScript on the client, with the compiler automating all communication between the two. Opa implements strong, static typing, which can be helpful in protecting against security issues such as SQL injections and cross-site scripting attacks. Read more on Wikipedia...

8Years Old 30Users 0Jobs

Example code from Linguist:

/**
 * To compile & run on port 8080:
 * opa hello_syntax1.opa --
 */
server = Server.one_page_server(
   "Hello, world",
   -> (<h1>Hello, world</h1>)
)

Example code from Wikipedia:

Server.start(Server.http,
  { title: "Hello"
  , page: function() { <h1>Hello, web!</h1> }
  }
)

Trending Repos

repo stars description

Last updated October 14th, 2019