title: any higher-level language that writes out javascript?
body: <p>I'm looking for a higher-level language that writes out javascript. in other words the relation of this language to javascript is similar to the relation C++ have with assembly code. </p>
  
  <p>The requirements of this higher-level language is type-safety, easy refactoring, able to have classes, inheritance etc (abit like java/C#/vb.net).</p>
  
  <p>The advantage is that I can code at this higher level language without having to rely on "hacks" to bring inheritance over to javascript. Moreover i do not have to do any runtime type/duck checks since the higher level language will impose the type-safety limit and the generated javascript will just "do the job".</p>
  
  <p>Additional advantages would be any of the advantages we could have when we code in C++ compared to coding in assembly.</p>
  
  <p>I'm actually going to try and write this higher-level language myself but its too much work and I was wondering if anyone had actually already did something like it.</p>