Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pike
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pikelang
pike
Commits
6e0ac037
Commit
6e0ac037
authored
Feb 10, 1996
by
Fredrik Hübinette (Hubbe)
Browse files
Options
Downloads
Patches
Plain Diff
fixed (to work with BMML)
Rev: doc/lpc/class:1.2 Rev: doc/lpc/hilfe:1.2 Rev: doc/lpc/preprocessor:1.2
parent
c46a6932
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
doc/lpc/class
+4
-1
4 additions, 1 deletion
doc/lpc/class
doc/lpc/hilfe
+6
-9
6 additions, 9 deletions
doc/lpc/hilfe
doc/lpc/preprocessor
+30
-27
30 additions, 27 deletions
doc/lpc/preprocessor
with
40 additions
and
37 deletions
doc/lpc/class
+
4
−
1
View file @
6e0ac037
NAME
NAME
class
class
- define a inlined program
SYNTAX
SYNTAX
class { program definition }
class { program definition }
...
@@ -14,5 +14,8 @@ EXAMPLE
...
@@ -14,5 +14,8 @@ EXAMPLE
complex->r=1.0;
complex->r=1.0;
complex->i=1.0;
complex->i=1.0;
KEYWORDS
lpc
SEE ALSO
SEE ALSO
inherit, lambda
inherit, lambda
This diff is collapsed.
Click to expand it.
doc/lpc/hilfe
+
6
−
9
View file @
6e0ac037
...
@@ -39,6 +39,7 @@ DESCRIPTION
...
@@ -39,6 +39,7 @@ DESCRIPTION
Evaluate a statement:
Evaluate a statement:
<statement> ;
<statement> ;
Statements include the following examples:
Statements include the following examples:
for(e=0;e<10;e++) ;
for(e=0;e<10;e++) ;
e=10;
e=10;
...
@@ -49,7 +50,3 @@ DESCRIPTION
...
@@ -49,7 +50,3 @@ DESCRIPTION
Statements beginning with for, while, switch, if, do or return will
Statements beginning with for, while, switch, if, do or return will
not automatically return anything, and no result will be printed.
not automatically return anything, and no result will be printed.
SEE ALSO
script_mode
This diff is collapsed.
Click to expand it.
doc/lpc/preprocessor
+
30
−
27
View file @
6e0ac037
NAME
preprocessor - textually process code before compiling
DESCRIPTION
DESCRIPTION
µLPC has a builtin C-style preprocessor. It works similar to old
µLPC has a builtin C-style preprocessor. It works similar to old
C preprocessors but has a few extra features. This file describes
C preprocessors but has a few extra features. This file describes
...
@@ -19,7 +22,7 @@ PREPROCESSOR DIRECTIVES
...
@@ -19,7 +22,7 @@ PREPROCESSOR DIRECTIVES
#pragma
#pragma
#undef
#undef
----------------------------------------------------------------------------
============================================================================
DIRECTIVE
DIRECTIVE
#!
#!
...
@@ -30,7 +33,7 @@ DESCRIPTION
...
@@ -30,7 +33,7 @@ DESCRIPTION
the script with
the script with
#!/usr/local/bin/ulpc
#!/usr/local/bin/ulpc
----------------------------------------------------------------------------
============================================================================
DIRECTIVE
DIRECTIVE
#define
#define
...
@@ -50,7 +53,7 @@ DESCRIPTION
...
@@ -50,7 +53,7 @@ DESCRIPTION
'identifier(something1,something2d)' would be replaced with
'identifier(something1,something2d)' would be replaced with
the replacement string. And in the replacement string, arg1 and arg2
the replacement string. And in the replacement string, arg1 and arg2
will be replaced with something1 and something2.
will be replaced with something1 and something2.
----------------------------------------------------------------------------
============================================================================
DIRECTIVE
DIRECTIVE
#undef
#undef
...
@@ -65,7 +68,7 @@ EXAMPLES
...
@@ -65,7 +68,7 @@ EXAMPLES
#undef foo
#undef foo
#define foo(bar) gazonk bar
#define foo(bar) gazonk bar
#undef foo
#undef foo
----------------------------------------------------------------------------
============================================================================
DIRECTIVE
DIRECTIVE
#if
#if
#elif
#elif
...
@@ -111,7 +114,7 @@ EXAMPLES
...
@@ -111,7 +114,7 @@ EXAMPLES
#if !efun(write_file)
#if !efun(write_file)
inherit "simulate.lpc"
inherit "simulate.lpc"
#endif
#endif
----------------------------------------------------------------------------
============================================================================
DIRECTIVE
DIRECTIVE
#error
#error
...
@@ -123,7 +126,7 @@ EXAMPLES
...
@@ -123,7 +126,7 @@ EXAMPLES
#if !efun(write_file)
#if !efun(write_file)
#error Move object is missing
#error Move object is missing
#endif
#endif
----------------------------------------------------------------------------
============================================================================
DIRECTIVE
DIRECTIVE
#include
#include
...
@@ -134,7 +137,7 @@ DESCRIPTION
...
@@ -134,7 +137,7 @@ DESCRIPTION
EXAMPLES
EXAMPLES
#include "foo.h"
#include "foo.h"
----------------------------------------------------------------------------
============================================================================
DIRECTIVE
DIRECTIVE
#line
#line
...
@@ -149,7 +152,7 @@ DESCRIPTION
...
@@ -149,7 +152,7 @@ DESCRIPTION
EXAMPLES
EXAMPLES
#line 4 "foo.cf" /* The next line was generated from 4 in foo.cf */
#line 4 "foo.cf" /* The next line was generated from 4 in foo.cf */
----------------------------------------------------------------------------
============================================================================
DIRECTIVE
DIRECTIVE
#pragma
#pragma
...
@@ -157,4 +160,4 @@ DESCRIPTION
...
@@ -157,4 +160,4 @@ DESCRIPTION
This is a generic directive for flags to the compiler. Currently, the
This is a generic directive for flags to the compiler. Currently, the
only flag available is 'all_inline' which is the same as adding the
only flag available is 'all_inline' which is the same as adding the
modifier 'inline' to all functions that follows.
modifier 'inline' to all functions that follows.
----------------------------------------------------------------------------
============================================================================
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment