pascal.js | Pascal compiler implemented in JavaScript | Interpreter library
kandi X-RAY | pascal.js Summary
kandi X-RAY | pascal.js Summary
Pascal.js is a Pascal compiler (Turbo Pascal 1.0-ish) implemented in JavaScript that outputs LLVM IR (intermediate representation). The IR can then compiled to native machine code (using LLVM as a backend), or compiled to JavaScript (via LLVM.js) so that it can run as a Node.js script or can run in a browser. Pascal.js uses an LALR(1) (bottom-up lookahead left-to-right) parser generated using Jison. Pascal.js is written in JavaScript and outputs JavaScript. This means you can write, compile and execute Pascal programs entirely in your browser. Try out the obligatory online demo of Pascal.js (supports at least Chrome and Firefox).
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of pascal.js
pascal.js Key Features
pascal.js Examples and Code Snippets
Community Discussions
Trending Discussions on pascal.js
QUESTION
I am using ACE web editor for coding in pascal language and a want to add a rule in the mode-pascal.js native file.
What I want is to highlight all 'read' and 'write' keywords in all lines begining with 'property' and ending with ';'.
Something like :
...ANSWER
Answered 2017-May-05 at 20:16Ace syntax highlighter supports states similar to textmate and sublime.
That means you can match property
keyword, and switch to a state that highlights read
and write
, something like this:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install pascal.js
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page