Click here to Skip to main content
15,891,184 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Ccc Pin
pkfox29-Nov-19 3:10
professionalpkfox29-Nov-19 3:10 
GeneralRe: Ccc Pin
OriginalGriff29-Nov-19 3:53
mveOriginalGriff29-Nov-19 3:53 
GeneralRe: Ccc Pin
Herman<T>.Instance29-Nov-19 0:01
Herman<T>.Instance29-Nov-19 0:01 
GeneralHappy turkey day, and happy coding Pin
honey the codewitch28-Nov-19 17:37
mvahoney the codewitch28-Nov-19 17:37 
GeneralRe: Happy turkey day, and happy coding Pin
PIEBALDconsult28-Nov-19 18:18
mvePIEBALDconsult28-Nov-19 18:18 
GeneralRe: Happy turkey day, and happy coding Pin
honey the codewitch28-Nov-19 18:19
mvahoney the codewitch28-Nov-19 18:19 
GeneralRe: Happy turkey day, and happy coding Pin
Tim Deveaux28-Nov-19 19:00
Tim Deveaux28-Nov-19 19:00 
GeneralRe: Happy turkey day, and happy coding Pin
honey the codewitch28-Nov-19 19:04
mvahoney the codewitch28-Nov-19 19:04 
I'm not making a traditional programming language.

Think of this as a templating tool for building abstract syntax trees.

It is never evaluated/interpreted, nor is it intended to create binary code.

The whole entire point of it is because this sucks:

C#
var c = new CodeAssignStatement(new CodeFieldReferenceExpression(new CodeThisReferenceExpression(),"_state"),new CodePrimitiveExpression(1));
// creates a language agnostic AST that renders "this._state = 1;" in c# or similar in VB, or F# or whatever


All this does is save typing. It's a parser that creates those trees.

So you can just type
C#
var c = Slang.Parse("this._state = 1;");


and create exactly the same tree.

This has nothing to do with a normal programming language. It's a templating language for language neutral code generation.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

GeneralRe: Happy turkey day, and happy coding Pin
Tim Deveaux28-Nov-19 19:16
Tim Deveaux28-Nov-19 19:16 
GeneralRe: Happy turkey day, and happy coding Pin
honey the codewitch28-Nov-19 19:20
mvahoney the codewitch28-Nov-19 19:20 
GeneralRe: Happy turkey day, and happy coding Pin
Tim Deveaux28-Nov-19 19:30
Tim Deveaux28-Nov-19 19:30 
GeneralRe: Happy turkey day, and happy coding Pin
honey the codewitch28-Nov-19 19:34
mvahoney the codewitch28-Nov-19 19:34 
GeneralRe: Happy turkey day, and happy coding Pin
Tim Deveaux28-Nov-19 19:41
Tim Deveaux28-Nov-19 19:41 
GeneralRe: Happy turkey day, and happy coding Pin
honey the codewitch28-Nov-19 19:45
mvahoney the codewitch28-Nov-19 19:45 
GeneralRe: Happy turkey day, and happy coding Pin
Super Lloyd28-Nov-19 20:41
Super Lloyd28-Nov-19 20:41 
GeneralRe: Happy turkey day, and happy coding Pin
honey the codewitch28-Nov-19 20:49
mvahoney the codewitch28-Nov-19 20:49 
GeneralRe: Happy turkey day, and happy coding Pin
Super Lloyd28-Nov-19 20:55
Super Lloyd28-Nov-19 20:55 
GeneralRe: Happy turkey day, and happy coding Pin
honey the codewitch28-Nov-19 20:56
mvahoney the codewitch28-Nov-19 20:56 
GeneralRe: Happy turkey day, and happy coding Pin
honey the codewitch28-Nov-19 21:01
mvahoney the codewitch28-Nov-19 21:01 
GeneralRe: Happy turkey day, and happy coding Pin
Super Lloyd28-Nov-19 23:47
Super Lloyd28-Nov-19 23:47 
GeneralRe: Happy turkey day, and happy coding Pin
honey the codewitch29-Nov-19 4:02
mvahoney the codewitch29-Nov-19 4:02 
GeneralRe: Happy turkey day, and happy coding Pin
honey the codewitch29-Nov-19 4:09
mvahoney the codewitch29-Nov-19 4:09 
GeneralRe: Happy turkey day, and happy coding Pin
Super Lloyd29-Nov-19 12:01
Super Lloyd29-Nov-19 12:01 
GeneralRe: Happy turkey day, and happy coding Pin
honey the codewitch29-Nov-19 12:37
mvahoney the codewitch29-Nov-19 12:37 
GeneralRe: Happy turkey day, and happy coding Pin
Eddy Vluggen28-Nov-19 21:58
professionalEddy Vluggen28-Nov-19 21:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.