Skip to content
/ ef Public

EF ( Efficient Functional ) or ( Extended FALSE ) scripting language

Notifications You must be signed in to change notification settings

Hhserg1965/ef

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ef

EF (Efficient Functional) or (Extended FaLSE ?) scripting language

Some links for FALSE # ## ###

About EF

  • easy to learned 😁
  • replasment of Python Perl Erlang ... 😊
  • designing an as powerful language as possible with a tiny implementation
  • stl only
  • stack based Reverse Polish notation
  • threads support
  • timers
  • os functions
  • sql functions
  • ip functions
  • ef based on uv
  • easy make addons - plugins

Binary Releases for Debian bin

Projects files on Qt Creator

Hallo

(aa bb bb)mq
20 N ~(v0 '%.f HALLO!'P l)
20 ~(v0 '%.f HALLO!'P l)
#[(?? ) 100]TM
#PID $ l KILL
E

EF syntax sourse:

lg log Globals
ls log Stack
l print Top Stack var
# comment to end of string
## ... ## strings comment
,:\n\r\s spacers
"some_characters..." 'some_characters...' string
[..] array

['one','two',99,144]   

{k1:v1,k2:v2; k3 v3 ...} map

{'a' 12312,'b'[1 3 5 76 T F N 'разработка интересного языка'] 
'66'555 'm' [{} 44 55 []] '111'1 '8' 'fgsdgsd'} #ls

(..) functional literal (after this stack stay the same!)

(?? RD l % 0 SL RP)

some_not_used_string Atom (Global Key for some...)
Known Globals: A ARGV T True F False N Nil R Return B Break RP Repeate
Known Functions:

  • er l lT lF ls lg TS (to string) FS (from string) SP (split) JN(join) P (printf-like) L (length) C (clear)

  • ? if ~ iterator (all are not easy)

  • Q M S D make deQue , Map , String , Double ( C+CMD Constant...)

  • $(...) dup % drop %< drop all to initial function call \ swap @(...) to top from begin v(...) to top from calling tree .(...) Sets!

  • + plus... - minus * mul... / div // % ^ named function to stack ++ -- SR sort RS revers sort

  • & | ! > < >= <= != = =N !N

  • ?? must Quit?->return E exit SL sleep

  • TM timer

    [(?? N RD $ N != ?(ls i.f5) ) 100]TM
    
  • TH thread

    [(?? RD l % 0 SL RP) bc]TH
    
  • LC make Locker RL WL RU WU

  • OS functions RM REN MKD DIR CDIR PID KILL RD RDB WR

  • SQL DB SQL EX !! NX >> PR ER RW

  • ip ...

  • INC include script LD load Plugin

  • regExp PCRE RE REQ

  • Spawn sp.N sp.A sp.K

Plugins

leveldb core -> leveldb example

Examples

Only Look and see

License

mail