Saturday, March 05, 2005

Type Conversions in BMCS

BMCS now has the basic infrastructure in place to do VB.NET like Type Conversions - both Implicit and Explicit.

The changes turned out to be much simpler than I had earlier thought.

The main difficulty was the nomenclature used by the C# and VB.NET specifications. It took sometime for me to realize the following two facts:

  1. VB.NET 's notion of "Widening and Narrowing Conversions" is equivalent to C# 's notion of "Implicit and Explicit Conversions".
  2. VB.NET has no notion of "User Defined Conversions".

Once the above essential facts were in place, a quick renaming of gmcs's conversion methods and a little bit of refactoring put everything in perspective. (Whoever asked "What is in a name?" should definitely be a fool!)

One biggest challenge introduced by the above renaming and considerable deletions (VB.NET has no unsigned data type other than "Byte", you see) is the increased lexical distance between the gmcs and bmcs trees.

I was immediately tempted to assess how much of a overhead that it introduces in merging of the two trees. After my second merge, I would say that it makes my life more difficult. Eventhough merging in itself is more of a pain, verifying that it indeed is just fine is actually much easier - just do a "diff of diffs" and verify that the only diffs are in the "positions of the diff".

Once I am done with giving final touches to the conversion changes, I think I might resort to "re renaming" the methods. (Whoever asked "What's in a name?" definitely has his feet firmly on the ground!)

My next goal is to VBify expression semantics and follow that up with a "rigorous" article on how C# and VB.NET differ with respect to Type Conversions.


At 1:34 am, Anonymous Zhila said...

From what I understand, bmcs was to be compatible with VB.NET and .NET 2.0. In this case, VB.NET 8.0 does in fact contain unsigned integers (and signed bytes). Integer/UInteger, Short/UShort, Long/ULong, Byte/SByte. Maybe this comment is meaningless, but I thought I'd throw it up.

At 6:16 am, Anonymous Anonymous said...

Well done!
[url=]My homepage[/url] | [url=]Cool site[/url]

At 6:16 am, Anonymous Anonymous said...

Great work!
My homepage | Please visit

At 6:17 am, Anonymous Anonymous said...

Nice site! |

At 3:17 pm, Anonymous Anonymous said...


Nice site, keep up the good work . BUY PHENTERMINE
BUY PHENTERMINE buy phentermine phentermine online order phentermine cheap phentermine buy phentermine online phentermine diet pill phentermine online pharmacy phentermine prescription what is phentermine free phentermine

At 10:10 am, Anonymous Anonymous said...

contact lenses cheap - color contact lenses

At 6:52 pm, Anonymous Anonymous said...

modo eyeglasses :
eyeglass world

At 5:14 pm, Anonymous Anonymous said...



At 9:38 am, Anonymous Anonymous said...

free nokia hindi ringtones - free l6 motorola ringtones
free midi polyphonic ringtones

At 8:54 am, Anonymous Anonymous said...

cell phone plan
cellular phone comparison - cellular phone game - cellular phone ringtone

At 11:53 am, Anonymous Anonymous said...

debt consolidation companies
student loan debt consolidation

At 7:05 pm, Anonymous Anonymous said...

download free sprint ringtone
free virgin mobile ringtones

At 9:00 pm, Anonymous Anonymous said...

free arabic ringtones
free cell phone ringtones - free motorola ringtones - free real ringtones

At 12:29 am, Anonymous Anonymous said...


Nice site, keep up the good work . BUY PHENTERMINE

At 7:57 pm, Anonymous Anonymous said...

overnight tramadol
tramadol cod - tramadol hydrochloride

At 5:33 am, Anonymous Anonymous said...

replica presidential rolex
rolex president -
riner.html>rolex replica submariner

At 5:25 pm, Anonymous Anonymous said...

airline cheap europe tickets
cheap hawaii ticket - cheap tickets to hawaii

At 2:26 pm, Anonymous Anonymous said...

cheap chicago flights
cheap flight miami - cheap flight tenerife - cheap flight us

At 2:36 am, Anonymous Anonymous said...

download free alltel ringtones
free boost mobile ringtones | free mobile phone ringtones

At 1:13 pm, Anonymous Anonymous said...

jamison mattress
mattress cleaner - mattresses

At 3:21 pm, Anonymous Anonymous said...

ciba contact lenses
contact free lenses

At 12:18 pm, Anonymous Anonymous said...

cheapest fioricet
effects of carisoprodol

At 5:02 am, Anonymous Anonymous said...

free boost ringtones
free halloween ringtones * get free ringtones

At 6:46 am, Anonymous Anonymous said...

fioricet withdrawal
carisoprodol 200mg

At 11:02 pm, Anonymous Anonymous said...

buy generic viagra
viagra online

At 4:56 pm, Anonymous Anonymous said...

american airlines discount code
american airlines home page

At 12:47 am, Anonymous Anonymous said...

ecco shoes
man shoes

At 4:00 pm, Anonymous Anonymous said...

cialis uk
cialis vs levitra

At 3:10 am, Anonymous Anonymous said...

auto insurance california
cheap auto insurance rates | family auto insurance

At 1:09 pm, Anonymous Anonymous said...

download free ringtones
free nokia ringtones > free verizon wireless ringtones

At 9:55 pm, Anonymous BuyLevitra said...

Thanks for article!

At 12:47 pm, Anonymous ShopMan said...

I like articles like this. Thanks!

At 5:31 pm, Anonymous Anonymous said...

Thanks for article! Very interesting.

At 2:00 pm, Anonymous Anonymous said...

Do you can write anything else about it? Great article!

At 1:34 am, Anonymous Anonymous said...

Can't wait to read more.

At 1:38 am, Anonymous Anonymous said...

VB.Net, .Net 2.0, Integer/UInteger... It's all greek to me. lol

At 1:40 am, Anonymous Anonymous said...

Nice site. Well done!

At 1:44 am, Anonymous Anonymous said...

My diaries were never like this. I wasn't smart enough.

At 1:53 am, Anonymous Anonymous said...

Great site! Here are a coupe more. Thanks!
Breathable Contact Lenses
Colored Contact Lenses

At 1:06 am, Anonymous Anonymous said...

Hi! I looked for this article everywhere on the net! Thanks!
Cheap airline tickets

At 12:27 am, Anonymous dallas carpet said...

black mold exposureblack mold symptoms of exposurewrought iron garden gatesiron garden gates find them herefine thin hair hairstylessearch hair styles for fine thin hairnight vision binocularsbuy night vision binocularslipitor reactionslipitor allergic reactionsluxury beach resort in the philippines

afordable beach resorts in the philippineshomeopathy for big with great mineral makeup bargainsmineral makeup wholesalersprodam iphone Apple prodam iphone prahacect iphone manualmanual for P 168 iphonefero 52 binocularsnight vision Fero 52 binocularsThe best night vision binoculars here

night vision binoculars bargainsfree photo albums computer programsfree software to make photo albumsfree tax formsprintable tax forms for free craftmatic air bedcraftmatic air bed adjustable info hereboyd air bedboyd night air bed lowest pricefind air beds in wisconsinbest air beds in wisconsincloud air beds

best cloud inflatable air bedssealy air beds portableportables air bedsrv luggage racksaluminum made rv luggage racksair bed raisedbest form raised air bedsaircraft support equipmentsbest support equipments for aircraftsbed air informercialsbest informercials bed airmattress sized air beds

bestair bed mattress antique doorknobsantique doorknob identification tipsdvd player troubleshootingtroubleshooting with the dvd playerflat panel television lcd vs plasmaflat panel lcd television versus plasma pic the bestThe causes of economic recessionwhat are the causes of economic recessionadjustable bed air foam The best bed air foam

hoof prints antique equestrian printsantique hoof prints equestrian printsBuy air bedadjustablebuy the best adjustable air bedsair beds canadian storesCanadian stores for air beds

migraine causemigraine treatments floridaflorida headache clinicdrying dessicantair drying dessicantdessicant air dryerpediatric asthmaasthma specialistasthma children specialistcarpet cleaning dallas txcarpet cleaners dallascarpet cleaning dallas

At 3:39 am, Anonymous Anonymous said...

Post23, buy viagra online, opol7, order viagra no prescription, kvbz0, generic viagra uk, kkwx1, cheap viagra online, qiam7, viagra sale online

At 11:41 am, Anonymous Anonymous said...

dating jackson tn dating in wales

At 10:53 pm, Anonymous Anonymous said...

officaial dating ages michigan psychobilly dating

At 12:01 pm, Anonymous Anonymous said...

lilly allen dating [url=]is beyonce dating jay z[/url] white guys and black girls dating
stewart and patt dating [url=]murders from internet dating[/url] brazil women for dating
nerdy girls dating [url=]free online dating site for deaf[/url] jail dating

At 9:33 am, Anonymous Anonymous said...

friendship dating matching in ajmer india [url=]decent adult dating site[/url] who are they dating
mature men and women dating [url=]dating someone going through divorce[/url] lisa edelstein dating
are terrence and rocsi dating [url=]elder dating sites[/url] shuffle dating sim english game

At 9:53 am, Anonymous Anonymous said...

dating case knife logo [url=]fayetteville ar dating[/url] waukesha dating
dating pendleton [url=]kenosha dating[/url] jasper dating
who is klohe kardashin is dating [url=]online free teen dating sites[/url] dating site portugal

At 1:30 pm, Anonymous Anonymous said...

middle age dating canada [url=]diego luna is dating[/url] free dating site with many memberws
aries dating aries [url=]meet arabic chat on line dating[/url] teen gay dating service
21 and 16 dating [url=]dating beauty asian women[/url] apopka dating

At 3:18 pm, Anonymous Anonymous said...

dating topics of conversation [url=]advise on dating a widower[/url] preventing herpes dating
vancouver dating sites [url=]dating game to download[/url] black women dating korean men
dating site pictures or resource [url=]the 10 commandments of dating[/url] tabago dating

At 9:53 pm, Anonymous Anonymous said...

1000 u k dating site who is thad luckinbill dating

At 3:20 am, Anonymous Anonymous said...

ebook how to write borders bookstore ebook reader [url=]free woodsong ebook[/url] the sun also rises free ebook

At 10:39 am, Anonymous Anonymous said...

r l stine broken hearts ebook free ebook phantom tollbooth [url=]the lions of tsavo ebook[/url] water4gas ebook download

At 6:14 am, Anonymous Anonymous said...

high performance computer imaging free ebook publishing ebook for free [url=]w a harbinson millenium ebook[/url] ravenloft ebook

At 1:24 pm, Anonymous Anonymous said...

goosebumps ebook downloads the secret ebook torrent [url=]ebook version of the paperbag princess[/url] subtle knife ebook

At 4:34 pm, Anonymous Anonymous said...

computer security spyware software wm5 gps software 2007 [url=]soccer tournament web score software[/url] palm peg t665c software
[url=]Adobe Design Premium CS4 [Mac] - Cheap Legal OEM Software, Software Sale, Download OEM[/url] what is mainframe software

At 2:36 pm, Anonymous Anonymous said...

george winters software ordering any psap software [url=]booking software powerpoint[/url] brammer dna software south bend in
[url=]Microsoft Windows 7 Ultimate x32 ENGLISH Service Pack 1 - Cheap Legal OEM Software, Software Sale, Download OEM[/url] dvd burner software review ratings

At 10:00 am, Anonymous Anonymous said...

windows moblie software wep software gate [url=]bluetooth install software[/url] parking enforcement software
[url=]Other - Software Store[/url] win xp realistic scanner software

At 1:28 am, Anonymous Anonymous said...

wh1080 software windows vista and avery designpro software [url=]panda antivirus software uninstallation[/url] supplement facts label software
[url=]Programming & Development - Download OEM, Software Sale, OEM Software[/url] adobe software student version

At 1:36 pm, Anonymous Anonymous said...

acer aspire software bundle arcade bradley ford software [url=]dvd game copying software[/url] wfree anti spy software
[url=]Electric Rain Swift 3D PS 1.0 x64 - Software Store[/url] medical office software for lab results

At 3:06 pm, Anonymous Anonymous said...

golf software for nokia why act software [url=]what's a software emulator[/url] computer software engineer history
[url=]ContrastMaster 1.0 for Adobe Photoshop - Software Store[/url] medical billing software il

At 1:44 pm, Anonymous Anonymous said...

silverline x software gps new software zealand [url=]windows software application certification san diego[/url] active-x control software
[url=]Sistemas operacionales - Software Store[/url] sign shop software

At 4:24 pm, Anonymous Anonymous said...

walmart pharmacy rockmart ga target coupons for pharmacy [url=]pharmacy md[/url]
federal pharmacy law hospitals pharmacy technician program objectives [url=]levitra professional[/url]
cvs pharmacy lancaster sc times eckard 24 hour pharmacy [url=]discount pharmacy[/url]
pharco pharmacy shannons pharmacy dublin [url=]provera[/url]

At 8:29 am, Anonymous Anonymous said...

offshore pharmacy barron pharmacy ohio [url=]didrex online pharmacy didrex order buy purchase request[/url]
pharmacy school failed eckerd pharmacy waldorf md [url=]viagra soft flavoured[/url]
how much does a pharmacy tech make pharmacy association [url=]rexal pharmacy[/url]
commcare pharmacy veterans administration pharmacy [url=]lukol[/url]

At 7:56 am, Anonymous Anonymous said...

dating sites latinas ans ukraine dating websites for teens between 16-17
dating blueridge guitar [url=]singles dating illinois[/url] adult personals single dating
christian dating net site [url=]drake and nicki minaj dating[/url] larger women dating [url=]baby4life[/url] rsvp dating life

At 9:53 am, Anonymous Anonymous said...

email for online dating dating for men with small cocks
devious dating by david burton [url=]ittake dating site[/url] advantages of dating a younger woman
free online dating people single [url=]dating someone with an std[/url] classified dating site [url=]spike778[/url] funny womens dating dos and donts

At 1:02 pm, Anonymous Anonymous said...

youth group games on dating medford speed dating
free dating scam database search [url=]cousins dating[/url] dating usa muslims marriages
dating in simcoe county [url=]dating bradford to be published[/url] free uk dating sites chat [url=]shashik[/url] dad son dating

At 9:41 am, Anonymous Anonymous said...

blog about online dating south african women dating
forums for equine dating [url=]dating and mariiage in bangladesh[/url] indian dating traditions
teen dating rules [url=]vietnam dating women[/url] internet dating class learning annex [url=]LoveSilk[/url] online dating con artists


Post a Comment

<< Home