Compiling on windows
Posted: Sun Nov 27, 2011 12:41 am
I've been playing around with the snapshot cobra compiler fine, but I was wondering if the current trunk compiles on windows (and I'm just doing something wrong)? Running bin\install-from-workspace.bat results in the following while compiling Cobra.Lang:
"warning: Cannot extract version number from version string: svn: (post 0.8) / 2011-11-27 on .NET CLR v4.0.30319"
This may have something to do with me not using a standard svn client. Manually setting the .versionString to what the regex expects on line 1006 of CommandLine.cobra (i.e. svn:0.8.0 post) I can get past this, however this leads to:
"
run: cobra.exe -c -t:lib -namespace:Cobra.Lang.Compiler -files:files-to-compile.text -debug -native-compiler:C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe -turbo -out:Cobra.Lang.Compiler.dll -key-file:Cobra.Lang\Cobra.Lang.snk cobra.cobra
: Statements.cobra(277): error: Incompatible types. Cannot assign value of type List<of T> on the right to List<of Expr> on the left.
: Statements.cobra(328): error: Incompatible types. Cannot assign value of type List<of T> on the right to List<of Stmt> on the left.
: Statements.cobra(989): error: Incompatible types. Cannot assign value of type List<of T> on the right to List<of Expr> on the left.
: Statements.cobra(1070): error: Incompatible types. Cannot assign value of type List<of T> on the right to List<of Expr> on the left.
: Statements.cobra(1247): error: Incompatible types. Cannot assign value of type List<of T> on the right to List<of Expr> on the left.
: Statements.cobra(1681): error: Incompatible types. Cannot assign value of type List<of T> on the right to List<of Expr> on the left.
: Expr.cobra(636): error: Incompatible types. Cannot assign value of type List<of T> on the right to List<of Expr> on the left.
: Compilation failed - 7 errors, 0 warnings
"
Being new to Cobra I'm not sure I can debug this one easily . Any ideas on whats going on?
"warning: Cannot extract version number from version string: svn: (post 0.8) / 2011-11-27 on .NET CLR v4.0.30319"
This may have something to do with me not using a standard svn client. Manually setting the .versionString to what the regex expects on line 1006 of CommandLine.cobra (i.e. svn:0.8.0 post) I can get past this, however this leads to:
"
run: cobra.exe -c -t:lib -namespace:Cobra.Lang.Compiler -files:files-to-compile.text -debug -native-compiler:C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe -turbo -out:Cobra.Lang.Compiler.dll -key-file:Cobra.Lang\Cobra.Lang.snk cobra.cobra
: Statements.cobra(277): error: Incompatible types. Cannot assign value of type List<of T> on the right to List<of Expr> on the left.
: Statements.cobra(328): error: Incompatible types. Cannot assign value of type List<of T> on the right to List<of Stmt> on the left.
: Statements.cobra(989): error: Incompatible types. Cannot assign value of type List<of T> on the right to List<of Expr> on the left.
: Statements.cobra(1070): error: Incompatible types. Cannot assign value of type List<of T> on the right to List<of Expr> on the left.
: Statements.cobra(1247): error: Incompatible types. Cannot assign value of type List<of T> on the right to List<of Expr> on the left.
: Statements.cobra(1681): error: Incompatible types. Cannot assign value of type List<of T> on the right to List<of Expr> on the left.
: Expr.cobra(636): error: Incompatible types. Cannot assign value of type List<of T> on the right to List<of Expr> on the left.
: Compilation failed - 7 errors, 0 warnings
"
Being new to Cobra I'm not sure I can debug this one easily . Any ideas on whats going on?