|
Thanks. The articles bombed so far but I think that's either because it's so preliminary, or people don't understand it, or nobody has a use for it. Or a combination of those things. Still, *I* have a couple of uses for it and I understand it so that's a start.
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.
|
|
|
|
|
There are no lines.
Something I keep wondering about your Slang system is whether or not it can be used to implement a language extension similar to Oracle's PRO*C or Microsoft's ESQL -- SQL statements embedded in C programs (or C# now I suppose).
|
|
|
|
|
LINQ already kind of provides that, but yes. You can use this as a starting point to implement a Domain Specific Language.
If I was real clever I might make it so you could extend the language through the language itself. Adding keywords and such but that's out of the scope of this for now.
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: LINQ already kind of provides that
It does no such thing.
|
|
|
|
|
Then i misunderstood what you meant. LINQ provides SQL like syntax over disparate datasources, including databases.
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.
|
|
|
|
|
|
Then I must be using a magic feature of an as of yet unheard of version of C# with magical embedded sql like syntax that nobody else has access to.
Gosh thanks microsoft. Boy, I feel speshul.
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.
|
|
|
|
|
Unstoppable force, may I introduce immovable object.
ESQL and Pro*C aren't "SQL Like".
They are embedded SQL.
|
|
|
|
|
Wow... are you trying to impress us?
well.... it might work!
you need to make an article with some cool nifty example! :P
|
|
|
|
|
The 2 articles i posted on it so far bombed LOL
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.
|
|
|
|
|
mm... I am not sure what you mean by "bombed"
is it this and that one?
I can only see 4 and 2 votes so far!
Just quickly read that at work just now!
Mm.... this is cool and obviously quite an achievement
However I am not sure where I could reuse that myself..
I'll have to think about it again if / when I need code generation....
|
|
|
|
|
It *is* pretty specialized. I do a lot of codegen so obv to me it's useful but i don't think it will ever have a wide audience.
Where it's super useful to is once it's shored up enough I can use it in my parsers for code inside the grammar. If you write it in Slang it will render out in whatever so it doesn't tie the grammar to a particular output language. Downside is the language in the grammar must be Slang.
Right now I've also added an Evaluate() method to CodeDomResolver so it can evaluate expressions, call methods and such at runtime. If I did full evaluation i could do runtime grammars without codegen but it would be S-L-O-W.
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.
|
|
|
|
|
Neal.fun[^]
Frank Wilhoit: “Conservatism consists of exactly one proposition …There must be in-groups whom the law protects but does not bind, alongside out-groups whom the law binds but does not protect.”
We never have had a president* so completely deserving of scorn and yet so small in the office that it almost seems a waste of time and energy to summon the requisite contempt
|
|
|
|
|
Emperor Penguins can dive to 528m?!
Whoa.
And an elephant seal to 2.4km.
Amazing
cheers
Chris Maunder
|
|
|
|
|
I wonder how long it takes to go all the way down and up again?
|
|
|
|
|
where is spongebob squarepants?
|
|
|
|
|
There's some creature living more than 10KMs under the ocean.
When humans set their deep sea diving record, the Hadal Amphipod be like, "bitch please".
|
|
|
|
|
I sit near her computer and lately it started to emit a gawdawful hum that slowly gets worse with each passing week. The machine is getting old - 7 years. So I checked and a new Dell for her is within reach financially. So I offered to get her a new desktop for Christmas.
"Why?" She asked.
"That hum is getting worse and it's making me nervous!" I replied.
"But the computer is not smoking yet - is it?" Was her reply.
So there is no need to replace the machine till it catches on fire?!
Her being very frugal is fantastic, but I wonder if I shouldn't just surprise her for Xmas?
|
|
|
|
|
Cp-Coder wrote: So there is no need to replace the machine till it catches on fire?! Some people do not replace stuff until it breaks completely. I have socks that are over 25 years in age; they still do what they're supposed to do, and they perform as well as one can expect from socks.
My previous desktop lasted 6 years; I hardly call that old, there's older machines for "sale" in the mall.
She would still like you if you buy her a new one though. Surprise her for New Year, when she doesn't expect it. And prepare for a lecture on how the old machine was fine and still perfect
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
I wonder what the average age is for computers that belong to Code Project members? Maybe this is a good question for a future survey?
|
|
|
|
|
..and origin; my bet is people from the Netherlands or the former DDR will be more likely to keep using their machines (and pants) until they break.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
I am not from any of those places and I use most things until they break (or shortly before they break)
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.
|
|
|
|
|
You're Spanish. In Spain and Italy that's quite usual
GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
I still have my first computer, which is almost 42 years old now. Does that count?
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
Still running DOS? Wow? I am impressed!
|
|
|
|