Factbites
 Where results make sense
About us   |   Why use us?   |   Reviews   |   PR   |   Contact us  

Topic: Syntactic sugar


Related Topics

In the News (Sun 20 Dec 09)

  
  syntactic sugar
a[i] notation is syntactic sugar for *(a + i).
The variants syntactic saccharin and syntactic syrup are also recorded.
These denote something even more gratuitous, in that syntactic sugar serves a purpose (making something more acceptable to humans), but syntactic saccharin or syrup serve no purpose at all.
www.catb.org /~esr/jargon/html/S/syntactic-sugar.html   (99 words)

  
  Syntactic sugar - Wikipedia, the free encyclopedia
Syntactic sugar is a term coined by Peter J. Landin for additions to the syntax of a computer language that do not affect its expressiveness but make it "sweeter" for humans to use.
Syntactic sugar gives the programmer (designer, in the case of specification computer languages) an alternative way of coding (specifying) that is more practical, either by being more succinct or more like some familiar notation.
Syntactic Splenda is an extension to Syntactic Sugar, coined by Kip Porterfield.
en.wikipedia.org /wiki/Syntactic_sugar   (674 words)

  
 Syntactic sugar
"Syntactic sugar" is a term coined by Peter J. Landin[?] for additions to the syntax of a language that do not affect its expressiveness but make it "sweeter" for humans to use.
Syntactic sugar gives the programmer an alternative way of coding that is more succinct or more like some familiar notation.
Syntactic sugar can be easily translated ("desugared") to produce a program in some simpler "core" syntax.
www.ebroadcast.com.au /lookup/encyclopedia/sy/Syntactic_sugar.html   (106 words)

  
 Syntactic Sugar   (Site not responding. Last check: 2007-10-09)
To be syntactic sugar the expressions must first be identical in semantics.
To me, that means a suitable dose of semantic carbohydrates to provide energy, some syntactic sugar to sweeten it a bit, a well-assorted library of proteins and fats, and a pleasant logical texture and composition.
Compiled languages are as far from syntactic sugar as a Cat backhoe is from a garden shovel.
c2.com /cgi/wiki?SyntacticSugar   (3057 words)

  
 David Herron's Blog: Syntactic sugar and hybrid dynamic languages
Even the "for loop" from C is really just syntactic sugar for an "if" statement and a set of "goto" statements.
Syntactic sugar: The only 0 calories lang I know is Lisp - and this is the main reason why it is disliked by so many.
Lisp is the Jolt Cola of Syntactic Sugar!
weblogs.java.net /blog/robogeek/archive/2006/05/syntactic_sugar.html   (1483 words)

  
 Jargon 4.2, node: syntactic sugar   (Site not responding. Last check: 2007-10-09)
Used esp. when there is an obvious and trivial translation of the `sugar' feature into other constructs already present in the notation.
C's `a[i]' notation is syntactic sugar for `*(a + i)'.
These denote something even more gratuitous, in that syntactic sugar serves a purpose (making something more acceptable to humans), but syntactic saccharin or syrup serve no purpose at all.
www.science.uva.nl /~mes/jarg311/s/syntacticsugar.html   (111 words)

  
 Blogging Java: Syntactic Sugar   (Site not responding. Last check: 2007-10-09)
Syntactic sugar are constructs added to a language, to make it easier for programmers to read and write program code.
Concept: Syntactic sugar are constructs added to a language, to make it easier for programmers to read and write program code.
Syntactic sugar hides away a lot of the detailes of a program.
www.lykkenborg.no /blog/java/2005/03/syntactic-sugar.html   (133 words)

  
 [No title]
Cholesteatoma: Benign tumor in the middle ear resulting from the overgrowth of tissue during repair of a tear in the ear drum.
Syntactic Skills: The abilitly to comprehend and use syntax.
Syntax: The structure of a language, or the rules which specify how grammatical markers and words are combined to make meaningful sentences; the part of speech of a word (for instance, noun or adverb).
www.brainconnection.com /gen/gloss.html   (12864 words)

  
 Syntactic sugar causes cancer of the semicolon | Kristof.Willen.be   (Site not responding. Last check: 2007-10-09)
Syntactic sugar causes cancer of the semicolon
This is the place where I publish some weird and interesting links I encountered during my dwellings in cyberspace.
The comments are property of their posters, all the rest (c) 2001-2006 by me.
kristof.willen.be /?q=node/626   (230 words)

  
 Syntactic sugar expressions
Note that 'and' and 'or' are not listed as syntactic sugar for operations in 'BOOL'; this allows short-circuiting the evaluation of subexpressions.
Symbols of the same precedence associate left to right and parentheses may be used for explicit grouping.
Here's a formula written with syntactic sugar and the calls it is textually equivalent to.
www.gnu.org /software/sather/docs-1.2/specification/syntacticsugarexpressions.html   (157 words)

  
 Better Syntactic Sugar   (Site not responding. Last check: 2007-10-09)
For example, I recently did a project with scripts implementing the first version of the processing and reporting functionality; after we proved that we correctly parsed and reported the data, we reimplemented in a compiled language, which went very quickly since all our algorithms and data structures were already proven.
The phrase "Better Syntactic Sugar" was originally used in derision about programmers who liked pretty-printed, color-coded, hyper-linked, interactively-iconified code editing, by one who thought that this kind of "sugar" was just to cover up a lack of skill at the basics of reading and writing code.
Here are some examples of the source code portions of "syntactic sugar", but my wish list goes far beyond just "pretty printing" the code.
c2.com /cgi/wiki?BetterSyntacticSugar   (1949 words)

  
 Joseph D. Darcy's Sun Weblog
When I misspelled "syntactic sugar" the other day, the helpful spell checker suggested "synaptic sugar" as a replacement, a replacement that fits surprisingly well!
The goal of the best syntactic sugar, like the enhanced for loop in JDK 5, is to be sweeter for your brain by removing the need to see repetitive details, like the standard induction variable patterns.
Syntactic sugar makes tradeoffs between two general effects:
blogs.sun.com /darcy/entry/synaptic_sugar   (125 words)

  
 Alice Manual - Syntactic enhancements
The extensions listed here are mostly syntactic sugar that is also expressible by other, less convenient means:
To make this convenient, Alice ML has syntactic sugar for performing a finalization action after evaluating another expression, regardless of whether this other expression terminates regularly or exceptionally.
Syntactic sugar is provided for expressing preconditions and other assertions conveniently.
www.ps.uni-sb.de /alice/manual/sugar.html   (1065 words)

  
 Sugar (disambiguation) - Wikipedia, the free encyclopedia
Sugar, Sugar, a single by the group The Archies
Syntactic sugar, syntactical elements of a computer language added primarily for convenience
Sugar (GUI), a custom based interface for Fedora Core on the $100 Laptop, to make the laptop into a fun, easy to use, social experience that promotes sharing and learning.
en.wikipedia.org /wiki/Sugar_(disambiguation)   (325 words)

  
 /* Rambling comments... */: C# v3 Extension methods, syntactic sugar for the lack of free functions?
C# v3 Extension methods, syntactic sugar for the lack of free functions?
Something that interested me was the future direction of C#; you can grab the spec from here.
It seems they're adding "extension methods" which, to me, appear to be just syntactic sugar to make up for the lack of free functions...
www.lenholgate.com /archives/000504.html   (904 words)

  
 Syntactic sugar
The difference is at the syntactic level, not at the semantic level.
For this reason, it is common to call such extra control statements "syntactic sugar." C includes three kinds of statements of this sort.
It would be possible to use an expression as a case label, but since the expression can contain only constants, it is generally not useful to use an expression.
www.eecs.wsu.edu /~cs150/reading/sugar.htm   (3340 words)

  
 12.1.1. Syntactic Sugar
This whole discussion brings up the issue of “syntactic sugar” … constructs that are added to a language, not because they are needed, but because they help make the programs look right to the programmer.
Syntactic sugar, then, can serve a very useful purpose by providing some additional insurance that we remain on track.
Just remember that, like the semicolon, each item of sugar is something that can potentially cause a compile error by its omission.
www.penguin.cz /~radek/book/lets_build_a_compiler/ch12s01s01.html   (752 words)

  
 Discourage the improper with syntactic vinegar (Loud Thinking)   (Site not responding. Last check: 2007-10-09)
Syntactic sugar has long hogged the spotlight in discussions of framework and language design.
We all love syntactic sugar — and we want it all: the terrifying lows, the dizzying highs, the creamy middles.
The point about using syntactic vinegar to discourage improper form is well taken.
www.loudthinking.com /arc/000601.html   (4668 words)

  
 The Line Between Syntactic Sugar and ...   (Site not responding. Last check: 2007-10-09)
Okay, I like a little syntactic sugar every once in a while because it is a good thing to make it easier to write code.
Secondly, the code that is written bares very little resemblence to the actual code that is produced by the compiler, and that, in my opinion, is a terrible situation, ripe for causing confusion and for underestimating consequences (ala.
If you want a simple langauge that maps closely to the underlying machine, try C. Anyway, compilers are usually written with skill and care, and their complexity is not a cause for concern.
www.javalobby.org /java/forums/m91826926   (2719 words)

  
 The Blog Ride - Syntactic sugar
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
Apparently there's been quite a stir started by my use of the term "syntactic sugar" to describe the featureset of C# 3.0, and more than a few people are wondering what I mean by that.
Simply this: that the C# compiler isn't doing anything fundamentally *different* than what you could easily do using the existing facilities of the language--in essence, it is making certain things easier, not possible.
blogs.tedneward.com /2005/09/22/Syntactic+Sugar.aspx   (201 words)

  
 BtYacc: BackTracking Yacc
Version 1.0 changes: BackTracking ================================= by Chris Dodd BTYACC is a modified version of yacc that supports automatic backtracking and semantic disambiguation to parse ambiguous grammars, as well as syntactic sugar for inherited attributes (which tend to introduce conflicts).
Whenever a btyacc generated parser runs into a shift-reduce or reduce-reduce error in the parse table, it remembers the current parse point (yacc stack and input stream state), and goes into trial parse mode.
Basically they are just syntactic sugar for embedded semantic actions and $0, $-1,...
www.siber.com /btyacc   (3112 words)

  
 LtU Classic Archives
Adewale Oshineye - Re: XLANG and WSFL: Syntactic Arsenic
Ehud Lamm - Re: XLANG and WSFL: Syntactic Arsenic
Oleg - Re: XLANG and WSFL: Syntactic Arsenic
lambda-the-ultimate.org /classic/message3757.html   (3065 words)

  
 org.apache.struts.flow.sugar (Struts Flow 0.5-SNAPSHOT API)
This package contains syntactic "sugar" in the form of function extensions for Java core classes.
Wraps Java objects by adding support for function extensions, which are functions that extend existing Java objects at the Rhino level.
This package doesn't depend on any other Struts Flow classes and can be used with any other embedded instance of Rhino.
struts.apache.org /struts-sandbox/struts-flow/apidocs/org/apache/struts/flow/sugar/package-summary.html   (98 words)

  
 Fabulous Adventures In Coding : Why no ++?
Whether VB.NET and C# really are in that sense mere syntactic variations on each other is a debatable point -- I think it is not nearly so cut-and-dried as some people think.
But increment operators are not mere sugar; they add new functionality, opening up immense cans of worms at huge cost for small gain.
I always hate it when someone says "syntactic sugar" because it is usually condescending and dismissive, and indicates that I'm not going to get the language feature I want!
weblogs.asp.net /ericlippert/archive/2004/07/19/187698.aspx   (3530 words)

  
 Deadprogrammer's Cafe » NYC's Syntactic Sugar
If you buy food from New York's street vendors long enough you will notice that New Yorkers developed some of what programmers call "syntactic sugar".
As I mentioned in my post about coffee and Greek cups, "coffee, regular" stands for "milk, two spoons of sugar".
I highly suspect that those things are a low carb version of non-fat yogurt from that Seinfeld episode.
www.deadprogrammer.com /?p=1493   (396 words)

  
 Marius Weblog
I wouldn't mind some syntactic sugar for avoiding a NullPointerException.
Of course, in these cases, you do a null-check and then call your method.
If they're gonna take the time to add in all this syntactic sugar for variable length argument lists, how hard would it be to introduce a new syntax for collapsing the "if not null, call such-n-such method" idiom?
jroller.com /page/Marius?entry=nullpoiner_syntactic_sugar   (170 words)

  
 Throw in a little syntactic sugar for more succinct C# code   (Site not responding. Last check: 2007-10-09)
Throw in a little syntactic sugar for more succinct C# code
Properties, indexers, and operators provide C# with what some refer to as syntactic sugar.
This means that they don’t provide functionality that couldn’t otherwise be achieved through methods.
builder.com.com /5100-6373-1044322.html   (719 words)

  
 Good Design always wins » Blog Archive » Syntactic sugar is everything
For example, C# supports so-called properties, which just syntactic sugar for getter and setter methods.
I know some people think that “syntactic sugar” is not really useful in this age of modern IDEs and code completion, some even think it’s a bad thing because it hides implementation details.
If, in Java, you want to please the gods of object orientation and encapsulate your fields, you use getter and setter methods.
www.gewinnt-immer.de /?p=34   (406 words)

  
 Syntactic Sugar : We provide Outsourcing of software development : Home page   (Site not responding. Last check: 2007-10-09)
Syntactic Sugar : We provide Outsourcing of software development : Home page
The solution from our company can be used either for providing services on the Internet or it can become a part of your internal information system
We moved to the bigger offices in the historical center of Pilsen.
www.syntacticsugar.com   (195 words)

  
 RE: a = b = 1 just syntactic sugar? - dBforums
If you would prefer not to see any double-underlined words and corresponding advertisements, please click here.
Is there a way to write an expression which sets b and does return
They are, but this has little to do with the fact that both assigned
www.dbforums.com /showthread.php?t=804160   (1254 words)

Try your search on: Qwika (all wikis)

Factbites
  About us   |   Why use us?   |   Reviews   |   Press   |   Contact us  
Copyright © 2005-2007 www.factbites.com Usage implies agreement with terms.