Login or Sign Up to become a member!
LessThanDot Sit Logo

LessThanDot

Web Developer

Less Than Dot is a community of passionate IT professionals and enthusiasts dedicated to sharing technical knowledge, experience, and assistance. Inside you will find reference materials, interesting technical discussions, and expert tips and commentary. Once you register for an account you will have immediate access to the forums and all past articles and commentaries.

LTD Social Sitings

Lessthandot twitter Lessthandot Linkedin Lessthandot friendfeed Lessthandot facebook Lessthandot rss

Note: Watch for social icons on posts by your favorite authors to follow their postings on these and other social sites.

Your profile

Authors

Search

XML Feeds

Google Ads

Tags: x-sharp

comments
Rate Post:
submit to reddit Digg!FacebookDotnetkicks

Just saw the X# language website, what do you think of X#?

X# (pronounced X-sharp) is a domain specific language designed to quickly create Web applications and services. In X# everything is represented as a hierarchical structure or tree and instead of using functions to manipulate information or perform actions, all possible operations you can think of are done by adding, removing or changing nodes from this tree. Since there are no functions to learn and everything is done intuitively, even inexperienced developers can create complex Web applications and services in record time.

X# is ...

Unlike other similar DSLs which require developers to learn hundreds of libraries and thousands of functions, X# is simple, intuitive, and easy to learn. It only uses 30 statements and four data types (node, string, number, and boolean) to create any application or service you can think of.

Here is an example

Retrieve all RSS Feeds from NY Times and save those entries containing the word oil in a MySQL database titled oil_news:

  1. <xsp:append-child target="document('xdbc:mysql://192.168.1.27:3306/maindb')/oil_news">  
  2.        <xsp:for-each select="(document('http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml')/text() >> /library/xml/pi('import'))/channel/item[contains(title,'oil')]">  
  3.             <row>  
  4.                 <title><xsp:text value="{title}"/></title>  
  5.                <description><xsp:text value="{description}"/></description>  
  6.                 <link><xsp:text value="{link}"/></link>  
  7.             </row>  
  8.         </xsp:for-each>  
  9.     </xsp:append-child>

Some samples are here http://www.xsharp.org/samples/ and the main site is here: http://www.xsharp.org/

About the Author

User bio imageDenis has been working with SQL Server since version 6.5. Although he worked as an ASP/JSP/ColdFusion developer before the dot com bust, he has been working exclusively as a database developer/architect since 2002. In addition to English, Denis is also fluent in Croatian and Dutch, but he can curse in many other languages and dialects (just ask the SQL optimizer) He lives in Princeton, NJ with his wife and three kids.
Social SitingsTwitterFacebookLinkedInHomePageLTD RSS Feed
938 views
x#, x-sharp
submit to reddit Digg!FacebookDotnetkicks

Comments and Feedback