C# Syntax Which is Close to F# Syntax (C# Light)


#1

Hi,

Following: http://fsharpforfunandprofit.com/csharp-light/, http://www.slideshare.net/ScottWlaschin/c-light slides have been used to introduce F# to C# programmers. But having said this the proposed syntax does make a lot of sense in C# also. So it could be an idea to allow the C# Light syntax in C#.

Suminda


#2

After 30 pages of the c-light slideshow I definitely thought it was just satire and would end up with just F#


#3

I fee some off the suggested makes sense. It is like F# but with a C# flavor. The conciseness and clarity is even better than F#. Through this is initially done as satire it is definitely worth considering.


#4

I agree. I think that the best place is between the two worlds; between F# and C#. Something like Kotlin is doing by standing into somewhere between Java and Scala.

But, I think that the cross-platform tools and the new VM are more important now. Or we can just hack the roslyn or F# compiler and create something new… T# (Typescript like) or S# (swift like) hehe :stuck_out_tongue:

I think that I will really play with compilers in my next free time. kkkk

But one thing is right. No language can be a success without good tools.


#5

If you are interested in new languages you might want to look at: https://github.com/JetBrains/Nitra


#6

Yes, I saw Nitra. I will play with it but right now it does not has support on VS 2013. I tried even the manual compilation process and nothing was worked for me.

Nemerle is great, besides there are some werd things in syntax that could be “more natural”, just like the linq is for C# (just my opinion).


#7

Just to check! I just get the Nemerle compiling and working on my VS 2013! Time to play! :smiley:


.NET Foundation Website | Blog | Projects | Code of Conduct