stargeek
PHP news website logo.
home    PHP scripts    articles    seo tools    links    search    contact    shop    realtors


The Frink Language 2004-07-06







The Frink Language 2004-07-06

The Frink Language 2004-07-06 07/07/2004 01:07 PM

A calculating tool and programming language.




This is a GrokNews Entry: (what is grok?)





Similar Items

The Frink Language 2004-07-06

Grok Headline matches for The Frink Language 2004-07-06

The Frink Language 2004-05-23


The Frink Language 2004-05-23 05/24/2004 10:46 AM
A calculating tool and programming language.

The Frink Language 2004-07-20


The Frink Language 2004-07-20 07/21/2004 12:37 PM
A calculating tool and programming language.

The Frink Language 2004-07-26


The Frink Language 2004-07-26 07/26/2004 12:37 PM
A calculating tool and programming language.

The Frink Language 2004-05-28


The Frink Language 2004-05-28 05/28/2004 01:51 PM
A calculating tool and programming language.

The Frink Language 2004-05-02


The Frink Language 2004-05-02 05/03/2004 09:36 AM
A calculating tool and programming language.

The Frink Language 2004-05-14


The Frink Language 2004-05-14 05/14/2004 01:44 PM
A calculating tool and programming language.

Language-Frink-Eval-0.01


Language-Frink-Eval-0.01 08/14/2004 04:40 PM

The Frink Language 2003-11-17


The Frink Language 2003-11-17 11/18/2003 08:07 AM
A calculating tool and programming language.

Language-Frink-Eval-0.02


Language-Frink-Eval-0.02 08/16/2004 06:10 PM

The Frink Language 2003-12-02


The Frink Language 2003-12-02 12/04/2003 03:36 PM
A calculating tool and programming language.

The Frink Language 2005-03-22 (Default
branch)


The Frink Language 2005-03-22 (Default
branch)
03/30/2005 06:15 PM
Screenshot Frink is a calculating tool and programming language designed to help you in the real world. It tracks units of measurement throughout all calculations and ensures that answers are correct. It converts between systems of measurement and has a huge library of physical data. It handles conversions between time zones, currencies, and historical values of the U.S. dollar and the British pound, translates between several languages, does date/time math, and more.
Changes:
This release fixes a problem in displaying floating-point approximations to rational numbers when the numbers involved were very large (larger than 10^308 or so.) Previously, the approximation could display something rather useless, like "approx. NaN", "approx. Inf", or "approx. 0.0". This did not affect the correctness of any calculations, but rather solely affected the user-displayed "helpful" approximation, which sometimes wasn't helpful. In addition, an experimental installer for the Nokia 9300 and 9500 (and other Series 80 devices) was added.

Io programming language 2004-07-06
(Development)


Io programming language 2004-07-06
(Development)
07/08/2004 12:09 PM
A small prototype-based programming language.

SdlBasic GameBasic language 2004-08-02


SdlBasic GameBasic language 2004-08-02 08/04/2004 01:22 PM
A simple basic interpreter for games.

Io programming language 2004-07-26
(Development)


Io programming language 2004-07-26
(Development)
07/26/2004 05:43 AM
A small prototype-based programming language.

PHP awarded Programming Language of 2004


PHP awarded Programming Language of 2004 01/05/2005 06:34 PM
PHP has been awarded the Programming Language of 2004, according to the TIOBE Programming Community Index. This index uses information collected from the popular search engines, and are based on the world-wide availability of skilled engineers, courses and third party vendors. Congratulations to us all!

MetaL meta-programming language
2004.06.28


MetaL meta-programming language
2004.06.28
07/01/2004 11:54 AM
An XML based meta-programming language compiler engine.

Tiobe Software: PHP Named Language of
2004


Tiobe Software: PHP Named Language of
2004
01/06/2005 09:24 AM
According to the TIOBE Programming Community Index, PHP has been awarded the title of Programming Language of the year for 2004.

MetaL meta-programming language
2004.05.11


MetaL meta-programming language
2004.05.11
05/11/2004 10:27 PM
An XML based meta-programming language compiler engine.

Notes and Tips: Office 2004 Language
Issue


Notes and Tips: Office 2004 Language
Issue
05/15/2004 11:21 AM
What kind of support does Office 2004 offer for languages like Chinese?

A real life professor frink


A real life professor frink 05/20/2004 01:14 PM
Maybe the age of the individual inventor isn't over. Woody Norris is the inventor of the personal helicopter, precise Hypersonic sound emitter, and the first palm-size digital voice recorder... And never graduated from college.

Frink: un lenguaje-calculadora para
cuatro ojos


Frink: un lenguaje-calculadora para
cuatro ojos
11/18/2003 07:04 AM

Language Map USA


Language Map USA 06/23/2004 01:53 PM
Modern Language Association Language Map of the USA.

C language API for TWS


C language API for TWS 04/08/2005 12:23 PM
version 1 release candidate 1 available

Is my language really better than yours?


Is my language really better than yours? 01/07/2004 05:36 PM
The "my language is better than yours"  diatribe is perhaps one of the oldest forms of communication among developers in existence. I can remember these discussions as far back as I remember knowing at least another person capable to write...

Language-XSB-0.14


Language-XSB-0.14 11/04/2003 06:04 PM

The Data Language 0.8.5


The Data Language 0.8.5 09/14/2004 02:37 PM
An Interactive Data Language-compatible incremental compiler.

Language-MzScheme-0.01


Language-MzScheme-0.01 06/07/2004 01:13 AM

Language-MzScheme-0.06


Language-MzScheme-0.06 06/13/2004 04:44 PM

The Language of Force


The Language of Force 05/17/2004 01:31 AM
By now, every newsreading sentient being on the planet has heard of the New Yorker piece on how the torture happened. Part of it, that hasn’t been written up much, got me mad, red-faced sleep-stealing mad. It seems that a lot of the planning was based on amateurish racist loony-science. Everywhere you look around this story there is filth, filth...

Language-MzScheme-0.05


Language-MzScheme-0.05 06/13/2004 05:51 AM

Language-MzScheme-0.08


Language-MzScheme-0.08 06/15/2004 06:58 AM

MIND YOUR LANGUAGE


MIND YOUR LANGUAGE 02/06/2003 10:45 AM
When size does matter: Google’s superiority is under threat, writes Chris Sherman’ it said in the Guardian. Phnaah, phnaah! ...

Smarty as a "Sub-Language"


Smarty as a "Sub-Language" 03/22/2005 04:31 PM

I've been spending some time working with Smarty lately. This is ostensibly a "templating language" for PHP. But I think it goes beyond that. I assert that Smarty has become a sub-language all by itself.

(Update: I thought of a much better name for this: "sand-boxed PHP." That's what Smarty is — a sandbox into which you can release as much or as little PHP functionality as you want.)

First of all, for the record, Smarty is astonishingly well-done. Joe tried to get me to use it for about a year, and I resisted because I've hated most templating languages I had worked with. (Lately, Joe is bugging me to try Rails, so I'm sure I'll do that about a year from now. I'm usually about a year behind Joe.)

I've spent just two weeks or so with Smarty, and I'll never, ever go back. It's one of those rare things that was written the way you would have written it if you had all the time in the world and were a lot smarter than you actually are.

What I love about Smarty is the extensibility. You can take any logic and wrap it up into a function or a modifier and expose it to Smarty, so it can be used in templates. Anything — if you can write it in PHP, you can reduce and simplify it down to a tag in Smarty.

This means that you could essentially write a new programming language in Smarty — a language that runs within PHP. Smarty already includes v ariables, flow control, several built-in modifier s and functions, and an i nclude system that's essentially a way to create user-defined functions.

Once you start wrapping up some advanced functionality into Smarty tags, you could create an entire language, teach your template developers how to use it, and they'd never know they were actually using PHP unless you told them. They'd essentially be "programming" in a sub-language that runs inside of PHP. (If they ever ask you what language you're teaching them, just string three letters together — "RTI" or "DBN" or something. They'll buy it.)

Let's consider ColdFusion, which is the language we would come the closest to if we pushed Smarty as far as it could go. This code in ColdFusion pulls a recordset, loops through it, and prints everything out.

<cfquery name="news" datasource="news">
  SELECT * FROM news
</cfquery>

<cfoutput query="news">
  #news.title#
  <br>
</cfoutput>

Now, here's the same thing in a Smarty template:

{query name="news"}
  SELECT * FROM news
{/query}

{foreach from=$news item=article}
  {$article.title}
  <br>
{/foreach}

All this took was a custom, 10-line blo ck function (written like this) that allows the template author to provide the SQL statement to be executed and returns a two-dimensional array. (Before you send the hate mail, yes I know this is wrong. I know this is a perversion of everything Smarty is supposed to do. I'm just trying to make a point here.)

So Smarty can be made to function very much like ColdFusion. It's not hard to take this further. Assign the $_GET and $_POST variables, and you can provide some dynamic functionality. This assignment:

$smarty->assign('_get', $_GET);

Will let you do this in the above template:

{query name="news"}
  SELECT * FROM news WHERE title LIKE '%{$_get.q}%'
{/query}

Now template authors can create a mini-app that searches a database table. It's not hard to see how you could make scripts to let them update tables as well.

But, you may say, Smarty has to be invoked from a PHP page, so the templates cannot be URL-addressable. True, but you can automate this. You can just route all incoming requests to the same PHP page, like this:

AliasMatch ^.*$ /template_loader.php

Then, in that file, do something like this:

$smarty->display($_SERVER['REQUEST_URI']);

This will load whatever template was called in the (fake) URL. So now template authors can start stringing templates together. Before you know it, they've gone and built a simple app. By themselves. Without you. In a language that you gave them. That runs inside of — and is essentially controlled by — PHP.

Your programming environment has now been split into a "main" language and a "sub" language, both of which you have control over. You can give your template authors as much or as little functionality as you want (you "wrote" the language, remember). They can solve as many problems as they can with what you've given them. For other problems, you can tackle them in "real" PHP and just provide the result, or you can encapsulate the algorithm and expose it to Smarty via a function or modifer.

Is this a good thing? I can't decide. But it sure is interesting, ain't it?


Language-Zcode-0.8


Language-Zcode-0.8 09/15/2004 05:58 AM

The Data Language 0.8.4


The Data Language 0.8.4 09/09/2004 01:26 AM
An Interactive Data Language-compatible incremental compiler.

GDL - GNU Data Language


GDL - GNU Data Language 04/14/2004 07:34 AM
GDL 0.7.2 released

SMS SUS FAQ: Language Packs


SMS SUS FAQ: Language Packs 06/29/2004 05:07 PM

Language-MzScheme-0.02


Language-MzScheme-0.02 06/07/2004 05:55 AM

Learn a language on your PC


Learn a language on your PC 06/15/2004 10:00 AM
PC Plus UK Jun 15 2004 2:30PM GMT
Grok Description matches for The Frink Language 2004-07-06
GrokA matches for The Frink Language 2004-07-06

The Frink Language 2004-07-06

The following phrases have been identified by the grok system as matching this entry:

















Also check out:


Grok

Ipod Porn on the
Rise

Brief Abstract of
Wikipedia's
Mesothelioma Cancer
page

Get first aid
instructions in your
cell phone

IE is crap
JSPWiki gains
podcasting support

This Week on
perl5-porters (28
June / 4 July 2004)

Market Regulation
Services Resumption
Notice: SAMSys
Technologies Inc

Market Regulation
Services - Trade
Resumption - SAMSys
Technologies Inc. -
SMY

MDKSA-2004:066 -
Updated kernel
packages fix
multiple
vulnerabilities

Enterasys XSR
Security Router
Record Route Denial
Of Service
Vulnerability (More
information)

Forgetful President
Critiques
Candidate's
Inexperience

Rivals thwart
Nokia's bid for
Symbian control

German retail giant
opens test center to
push RFID

iPass, Yahoo BB
Mobile expand
roaming deal

Starbucks adds
wireless service to
more stores

Briefly: Starbucks
adds wireless
service to stores

Windows for Opteron
beta does not
support Nocona

MSKBHahaha
Halliburton's
busniess dealings in
Iran

Life Servers,
Frosted Snakes,e
tc...

E-voting security:
looking good on
paper?

Sun outsources UK
support engineers

'Together we can
defeat spam in two
years'

Starbucks
Non-Announcement
Announcements

Linksys Boosts
Signal--Legally

JiWire Separates
Places from
Providers

MORE Blog modules!
Calendar Photos
Judith discovers
Tribe Cast

Hey - where's DLAs?
:-)

Rocky Mountain News:
Columnists

G O P.com :: RNC
Research: Who Is
John Edwards?

A 4 megapixel
birthday!

Real-time news
Middle East Payoff?
Dell's Linux Daze
Accenture's
Balancing Act

All Hail Steve
Ballmer

Pfizer Wants To Be
Your Pfriend

Software Meat Eaters
New e-mail service
aims to wallop Gmail

Millie the
mechanical monster
of Michigan

Anthony Townsend on
urban wireless

Crafty laptop
sleeves

Lego animated
Spiderman 2

US extraditing
DRM-breaker

Memorex Announces
16X Dual-Layer DVD
Burner

SmartKlamp:
Single-Use,
Automatic
Circumcisions

am3 Sets Up Anime
Vending Machines for
Game Boy Advance

Rovers might get
further lifeline

Washing machine
death firm fined

US sends back
Colombian 'rebel'

Football: Santini
sets early goal

Storms cut power and
block roads

ITU wants spam dead
within two years

what is grok?