To install click the Add extension button. That's it.

The source code for the WIKI 2 extension is being checked by specialists of the Mozilla Foundation, Google, and Apple. You could also do it yourself at any point in time.

4,5
Kelly Slayton
Congratulations on this excellent venture… what a great idea!
Alexander Grigorievskiy
I use WIKI 2 every day and almost forgot how the original Wikipedia looks like.
Live Statistics
English Articles
Improved in 24 Hours
Added in 24 Hours
Languages
Recent
Show all languages
What we do. Every page goes through several hundred of perfecting techniques; in live mode. Quite the same Wikipedia. Just better.
.
Leo
Newton
Brights
Milds

Pico (programming language)

From Wikipedia, the free encyclopedia

Pico
ParadigmsReflective, procedural
FamilyLisp
Designed byTheo D'Hondt
Wolfgang De Meuter
DeveloperVrije Universiteit Brussel
First appeared1995; 29 years ago (1995)
Stable release
2.0 / 2007; 17 years ago (2007)
Implementation languageScheme
PlatformIA-32, x86-64
OSMac OS 9, macOS; LinuxBSD, Windows
Websitepico.vub.ac.be
Influenced by
Scheme, Smalltalk

Pico is a programming language developed at the Software Languages Lab at Vrije Universiteit Brussel, intended to be simple, powerful, extensible, and easy to read.[1] The language was created to introduce the essentials of programming to non-computer science students.

Pico can be seen as an effort to generate a palatable and enjoyable language for people who do not want to study hard for the elegance and power of a language. They have done it by adapting Scheme's semantics.

While designing Pico, the Software Languages Lab was inspired by the Abelson and Sussman's book "Structure and Interpretation of Computer Programs". Furthermore, they were influenced by the teaching of programming at high school or academic level.

Pico should be interpreted as 'small', the idea was to create a small language for educational purposes.

YouTube Encyclopedic

  • 1/3
    Views:
    5 447
    2 248
    2 115
  • Basic PICO Controllers
  • Sharing the love: making games with PICO-8
  • ME430 PicoSoft Timers

Transcription

Language elements

De Meuter, Gonzalez, and D'Hondt describe the Pico syntax as being "two-tiered."[1] The first layer consists of simple rules for writing small programs in a functional programming style.

Comments

Comments are surrounded by backquotes ("`").

Variables

Variables are dynamically typed; Pico uses static scope.

var: value

Functions

Functions, like everything in Pico, are first-class objects, meaning they can be assigned to variables and passed to and returned from functions. Also, there are no anonymous functions in Pico; functions must have a name.[1] For example, a function, func, with two parameters, param1 and param2, can be defined as:

func(param1, param2): ...

Functions can be called with the following syntax:

func(arg1, arg2)

Operators

Operators can be used as prefix or infix in Pico:

+(5, 2)
5 + 2

Data types

Pico has the following types: string, integer, real and tables.

It does not have a native char type, so users should resort to size 1 strings.

Tables are compound data structures that may contain any of the regular data types.

Boolean types are represented by functions (as in lambda calculus).

Control structures

Conditional evaluation

Only the usual if statement is included

if(condition, then, else)

Code snippets

display('Hello World', eoln)
max(a, b):
 if(a < b, b, a)
`http://www.paulgraham.com/accgen.html`
foo(n): fun(i): n := n+i

Implementations

Mac OS, Mac OS X

Windows

Linux

Cross-platform

References

  1. ^ a b c D'Hondt, Theo; Gonzalez, Sebastian; De Meuter, Wolfgang (1 January 1999). "The design and rationale behind pico". Programming Technology Lab, Department of Computer Science, Vrije Universiteit Brussel. Retrieved 3 December 2023.

External links

This page was last edited on 21 March 2024, at 05:06
Basis of this page is in Wikipedia. Text is available under the CC BY-SA 3.0 Unported License. Non-text media are available under their specified licenses. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc. WIKI 2 is an independent company and has no affiliation with Wikimedia Foundation.