|
honey the codewitch wrote: Just write it in Slang and translate it
Yo, sup honey? How 'bout you add dem numbers, yo! Translating...
int Add(int a, int b)
{
return a + b;
}
|
|
|
|
|
Where's the CodeDOM provider for LOLCODE[^]?
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
honey the codewitch wrote: Just write it in Slang and translate it
Why bother translating it? Are there any constructs that exist in VB and are not available in C#?
(I thought that you were writing a code translator that makes CodeDom easier to use, not a C#-to-VB translator.)
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Because my code generation tools don't dictate what language you have to generate the code in.
My code generators are not C# only.
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.
|
|
|
|
|
honey the codewitch wrote: But I feel pretty cool right now
You should.
I don't know codedom, and don't think I will get the reason to, but if it's anything similar to learning expressions I can appreciate the level of your achievement.
I'm quite convinced I couldn't have done it in the time you have. If at all.
|
|
|
|
|
In some ways it's similar territory. However,
Expressions lib in .NET only handles expressions, not statements, nor type, field and method declarations. It also renders to IL.
The codedom does not render to IL (though i'm thinking of making a codedom for that) but it renders to one of X target languages (stock C# or VB but extensible), and it handles expressions, statements, types - basically entire groups of code "files" meant for the compiler.
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.
|
|
|
|
|
|
That's cool. Still, I can't render whole programs with it.
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.
|
|
|
|
|
Ha, I bet you could if you tried hard enough.
Yes, it would probable be the wrong tool. But still...
|
|
|
|
|
Could you make a version that I could write something in Fortran-77 and convert it to C#?
I only ask because I used to really enjoy writing in FORTRAN in the old days, but perhaps that was more because of what I was writing than what I was writing it in, hmmm... (An expert system for flight test analysis of jet fighters - whooooosh!)
Not really serious - just wondering.
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
Probably not. The trouble is the runtime libraries are entirely different. If it weren't for .net languages all sharing the same BCL this wouldn't be feasible at all.
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.
|
|
|
|
|
I wasn't really serious (but..?).
I am very impressed with your project as, I think, many other here are.
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
My condolences.
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
The more I read about your endeavors (and better yet, accomplishments), the more I'm wondering why you're not on MS's payroll, showing them how to make VS not suck so much.
Although I do understand you were with them for a while...?
|
|
|
|
|
Yeah I was. I was actually on the visual studio team for about 9 months.
I wrote some of the codegen stuff, but then it got changed a bunch and dumbed down, IMO.
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.
|
|
|
|
|
You sure have found your niche, and I wish I still had the drive to see personal side-projects through like you do.
Or are you employed in some field that requires this sort of thing?
|
|
|
|
|
I'm not. What I am is crazy, as in schizoaffective and that makes me disabled which leaves me with barely working, which leaves me with time.
I can't work in software anymore but I've been coding since I was 8 and I love it, so here it is.
Going crazy wasn't all bad - madness is underrated, but like I said, it leaves me with time to fill.
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.
|
|
|
|
|
It's always better to say you enjoy your afflictions rather than "suffer" from them.
|
|
|
|
|
I agree with that.
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.
|
|
|
|
|
|
Why would anyone here, many of whom make a living from software, want to help you cheat? If something is pay per view then pay for it.
|
|
|
|
|
Richard MacCutchan wrote: If something is pay per view then pay for it. Or don't view it (the option is valid too )
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
I disagree for 2 reasons:
1. If pressing "stop" on your browser is enough to allow you to view the paywall content, then they deserve to lose money
2. I have no sympathy for media outlets. The about of click-bait no-news articles that get spammed everywhere is extremely annoying. Why should anyone have to pay to read something that is designed solely to get people clicking on it just to make the website owners more money. You want to sell news, then right some actual, well researched news.
|
|
|
|
|
1. Maybe they need to recruit a more experienced developer.
2. If they present valid news then what is wrong with paying?
|
|
|
|
|
1. No doubt
2. As I said, I can't stand the tactics of newspaper websites (in fact it applies to pretty much any form of marketing that tries to pray on peoples stupidity/inexperience to make money).
So although they are not all as bad, the few that are genuine have to suffer the fallout of the ones that I dislike. It's just being lazy on my part for sure, to brand them all the same, but it's not worth the effort to pick and choose.
|
|
|
|