[Asterisk-Dev] Dialplan syntax changes.. Option: work on aradically different design..

Matthew Butt mjb at tricycleinc.com
Wed May 18 09:19:35 MST 2005


Being new round here and maybe talking out of line - it's all well and
good having a language-based syntax with appropriate constructs - but
also consider that there will be many people trying to use Asterisk who
are NOT up to speed with such syntax.

I would guess that most of the Asterisk installers/maintainers out there
are not developers.  Don't make it harder for the majority!

(PS I'm a developer so anything's good for me :))

MattB


-----Original Message-----
From: asterisk-dev-bounces at lists.digium.com
[mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of
alex at pilosoft.com
Sent: Wednesday, May 18, 2005 10:41 AM
To: Asterisk Developers Mailing List
Subject: Re: [Asterisk-Dev] Dialplan syntax changes.. Option: work on
aradically different design..

On Wed, 18 May 2005, Brian West wrote:

> > What is the dialplan?  It's really a procedural language, it seems.
> >
> > Do we already have well defined syntax(es) that would fit?
> >
> > Sure we do -- and most of them stem from the syntax of C in one way

> > or another.
> >
> > So, can it make sense to make the Dialplan look more like C?
Finally someone who has enough sanity to recognize that line-based 
programming languages died away with ol' GWBASIC and FORTRAN-1945

I'm for it with both hands.

Now, let's discuss the BNF of the new language. Also, discuss whether we
need gotos, etc, etc - and whether possibly adoption of another existing
"domain specific language" would be preferable to rolling our own,
writing
parsers and syntax/semantic analyzer, variable/array/etc support code 
- which needs to be debugged etc. Very boring stuff.

What should be language like? C? Perl? I venture to say, it should be 
closer to perl, as far as dynamic variables, loose typing and array/hash

support.

Also, question this: If we are going to move toward perl-ish language
for
dialpan, do we need really dialplan? Would integrating, say, perlagi
with
asterisk in a way mod_perl (as in, no overhead) is integrated be able to
replace dialplan altogether?





_______________________________________________
Asterisk-Dev mailing list
Asterisk-Dev at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev





More information about the asterisk-dev mailing list