lercher / cocor Goto Github PK
View Code? Open in Web Editor NEWCoco/R with inheritance of TOKENS
Coco/R with inheritance of TOKENS
Hello Martin !
I just got an initial port of CocoR-CSharp to Typescript/Javascript and you've mentioned this on the README:
Alternativly: Build a JavaScript/TypeScript version of Coco/R with this extensions and implement the language service in Visual Studio Code's native language (node + ECMA Script 6). Maybe the C# sources can be transformed to JS by a tool to bootstrap the process.
Are you still using/interested in this project ?
If so would you like to test/help improve the Typescript port ?
I also did some enhancements/fixes to CocoR here https://github.com/mingodad/CocoR-CSharp , https://github.com/mingodad/CocoR-Java and https://github.com/mingodad/CocoR-CPP .
Cheers !
Rebuilding the test folder and trying to compile give the error shown bellow, it seems that the -->beginalternativescode
is not been transferred to the final parser.
../Coco.exe -frames .. inheritance.atg
Coco/R (Jul 28, 2016)
checking
Inheritance deletable
TDBs deletable
LL1 warning in TDBs: var is start & successor of deletable structure
LL1 warning in TDBs: "call" is start & successor of deletable structure
parser + scanner generated
grammar scanned by using Buffer
0 error(s) detected
csc /out:inheritance.exe /t:exe main.cs Scanner.cs Parser.cs
Microsoft (R) Visual C# Compiler version 3.6.0-4.20224.5 (ec77c100)
Copyright (C) Microsoft Corporation. All rights reserved.
Parser.cs(155,24): error CS0103: The name 'alternatives' does not exist in the current context
Parser.cs(159,28): error CS0103: The name 'alternatives' does not exist in the current context
Parser.cs(228,3): error CS0103: The name 'alternatives' does not exist in the current context
Parser.cs(335,27): error CS0103: The name 'alternatives' does not exist in the current context
Parser.cs(347,27): error CS0103: The name 'alternatives' does not exist in the current context
Parser.cs(401,3): error CS0103: The name 'alternatives' does not exist in the current context
Parser.cs(409,23): error CS0103: The name 'alternatives' does not exist in the current context
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.